10 Sep 2010
Support Center
»
Knowledgebase
»
CGI/Perl Script Installation
CGI/Perl Script Installation
Solution
Dear Customer,
CGI/Perl scripts can be quite tricky to install. Here are some basic that should help you.
Your /var/www/cgi-bin folder must be set to permissions 755 otherwise Perl/CGI files will not execute. By default this is the correct setting so do not change it.
All CGI/Perl files should be uploaded to:
/var/www/cgi-bin
Your path to the perl processor is:
/usr/bin/perl
Try uploading a "Hello World" (hello.pl) script to:
/var/www/cgi-bin
Here is basic "hello.pl" script:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello, world!\n";
You can execute this script using the URL:
http://www.yourdomainname.co.uk/cgi-bin/hello.pl
This should be enough to get you going with your first CGI/Perl script.
Kind Regards,
HelpDesk.
----------------------
keywords: path to perl, execute cgi, cgi script, perl script
Article Details
Article ID:
327
Created On:
27 Jan 2009 10:05 AM
This answer was helpful
This answer was not helpful
User Comments
Add a Comment
Sharing is good. If you have a comment about this entry, please feel free to share. The comments might be reviewed by our staff, and may require approval before being posted. Questions posted will not be answered. Please submit a Ticket for support requests.
Image verification required
Please enter the characters that appear to the right in the space provided. This is just to verify that you are a human.
Fullname:
Email: (Optional)
Comments:
Back
Login
[Lost Password]
Email:
Password:
Remember Me:
Search
-- Entire Support Site --
Knowledgebase
Downloads
Troubleshooter
Article Options
Add Comment
Print Article
PDF Version
Email Article
Add to Favorites
Home
|
Register
|
Submit a Ticket
|
Knowledgebase
|
Troubleshooter
|
News
|
Downloads
Language:
English
Help Desk Software
Help Desk Software By Kayako eSupport v3.70.01