[PRL3.01] How do I upload a CGI script to my web space?

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:

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

Was this answer helpful?

 Print this Article

Also Read

[PRL3.06] Do you support Blogs on your packages?

Yes we do - you'll need to select a package that includes MySQL databases as all major blogging...

[PRL3.05] What is Python?

Python is an interpreted, interactive, object-oriented programming language. It is often compared...

[PRL3.04] What is Perl?

Short for Practical Extraction and Report Language, Perl is a programming language developed by...

[PRL3.07] Common server software requirements

All standard Apache modules are installed on the web servers, including mod_rewrite. In addition,...

[PRL3.02] What permissions do I need to set CGI scripts to?

Files and directories within your cgi-bin directory (or CGI scripts elsewhere) should be set to...