Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I "upload" a CGI/Perl script? 1

Status
Not open for further replies.

Pyrrhus

Technical User
Dec 18, 2001
112
AU
Please excuse my stupidity, but I'm new to all of this. I have a website running on a remote server. I use CuteFTP to upload my HTML/Javascript files to the www/ folder on the server. Once I have found and modified the Perl script that does what I want, how do I then get it up to my site into the right location, presumably the CGI bin? Where can I read about this?
Thanks. Any help much appreciated.
 
cgi-bin is a folder on the webserver which the webserver should have been given authorisation to run executable scripts to produce CGI output. Depends on the server

You will still use Cute-FTP, or some other FTP agent, look at at WinSCP if your server will support it, to upload the script, but you may have to explicitly set permissions on the file to allow the webserver to run it in a webserver context.

Most scripts can at least be syntax checked in a non webserver environment.

Where can you read about CGI-BIN, check your webserver's documentation would be best bet

HTH
--Paul
 
Thanks Paul. Sorry it took me so long to say it. Got hit by a truck (a virtual one, fortunately).

Pyrrhus.
 
virtually, I hope it was small and remote controlled, and you levelled the driver

--Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top