HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Programming/Scripts (http://www.howtoforge.com/forums/forumdisplay.php?f=7)
-   -   Internal Server Error with CGI scripts? (http://www.howtoforge.com/forums/showthread.php?t=16)

lola 21st April 2005 11:35

Internal Server Error with CGI scripts?
 
I've uploaded a PERL script into the cgi-bin folder of my Apache2, but whenever I'm trying to run it in my browser I get the error "500 Internal Server Error". :eek:
Is it something serious? How can I fix it? Any help is greatly appreciated!

lola

tylerdurden 21st April 2005 11:51

Quote:

Is it something serious?
Don't worry, it doesn't break your server!

I bet the problem is that you didn't make your Perl script executable. Try to make a

Code:

chmod 755
on your Perl script and try to access it in your browser. You always have to make Perl scripts executable!

tyler

lola 21st April 2005 17:00

Yes, that was it, it's working now! :) :) Thanks!


All times are GMT +2. The time now is 22:25.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.