How do I run a perl script for my site

Asked by:
ferrycode / 5 Points
2012-05-06 4:47 pm EST
How To
i have a simple perl script, i ftp to the root of my hosting, changed perissinon to 755 and it not run ? it shows the following:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

To ask this user for more information, please first login.

To submit an answer, please login.



13,688 Points
2012-05-07 8:58 am EST
Hi ferrycode,

I'm sorry you're having trouble running your Perl script. Perl scripts should be uploaded to your cgi-bin. Scripts that you store in the cgi-bin should have file permissions set to 755, so the script you have uploaded already has the correct file permissions set.
When adding the script tag to your site file(s) make sure you are using the full path to the script (including the cgi-bin folder in the pat).

If you have any additional questions or need further assistance, please feel free to contact us.


Christi N.

To submit a comment on this answer, please first login.

I have the same problem and tested several times! Please can you be more precise about the folder cgi-bin. I have on every domain installed the folder cgi-bin but nothing happens. I always receive the same 404 error or internal server error. The script was working perfect in my other hosting provider. Please help!
3 Points

2016-03-07 11:22 pm EST
Do you have any more information about the script you're trying to run, or do you have a more specific question about the cgi-bin? Is there a specific parameter your script requires to run properly?
1,087 Points
2016-03-08 11:26 am EST
Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.