There was a problem loading the comments.

How do I upload a CGI script to my web space?

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
CGI scripts can be uploaded to anywhere in your hosting package, however it's traditional to upload them into cgi-bin for security. Many CGI scripts are written in Perl. Here are some helpful tips to follow when installing Perl scripts:

[list]
[*]Upload to your cgi-bin directory and ensure proper file permission settings (755)
[*]Upload in ASCII transfer mode (NOT BINARY mode).
[*]The first line of each script must read: #!/usr/bin/perl
[*]The script must end with a .cgi or a .pl extension.
[/list]

Share via
Did you find this article useful?  

Related Articles

© Eco Web Hosting