Perl and CGI

From ReduxWiki

Jump to: navigation, search

Contents

[edit] What version of Perl are you currently running?

Version 5.8.7

[edit] Do you support mod_perl in your shared/reseller environments?

Currently we do not support mod_perl; however we fully support FastCGI.

[edit] What is the path to Perl on my servers?

/usr/bin/perl

[edit] How can I use CGI on your network?

The Common Gateway Interface can be used to serve your Perl, PHP, Python, C/C++ or Ruby applications on our network. You will need to specify the appropriate path to the application you are using at the top of your script. Example: With Perl, the first line of your script would need to contain
#!/usr/bin/perl
.

[edit] Are you running SuExec?

Yes we are, which means that all CGI programs will run under your assigned uid/guid.

[edit] My scripts return a 500 error and will not execute.

Make sure you have set the permissions on your cgi script to 755. You will not be able to run scripts at 777 on our servers. Also make sure you have uploaded your script in ascii format with your ftp client.


[edit] Will my CGI scripts execute from any location?

Yes, however, we provide a cgi-bin in your home directory which you may find convenient for keeping your scripts in one location.

Personal tools
Getting Started