500 internal server error on ANY page served from cgi-bin; no meaningful error log entries

Asked by:
emacd / 11 Points
Time:
2013-04-18 8:45 pm EST
Category:
Website Troubleshooting
Hits:
841
.pl, .php, .htm, and .html files generate 500 errors from my cgi-bin folder. I am experimenting with bare-bones files (1-3 lines).

The only error log messages generated are simply because the 500 error page cannot find a custom 500.html page.

I have beginner/intermediate coding skills in perl/php, but zero experience with perl module access/configuration.

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

To submit an answer, please login.

ANSWERS

0

arnelc
Staff
17,314 Points
2013-04-18 9:22 pm EST
Hello Emacd,

Sorry for the problem you're having. Here is a link to to our tutorial on troubleshooting 500 errors.

The main issue is that you cannot serve HTML files from cgi-bin. You can place a script in there (with execute permissions), but the HTML file itself will generate an error.

For more general information on using the CGI-BIN, check out this article: Info on cgi-bin

If you have any further questions, please contact technical support or leave a comment at the bottom of the page.

Regards,

Arnel C.
Community Support

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

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!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 757-416-6627 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.
}