PDA

View Full Version : Internal Server Error with CGI scripts?


lola
21st April 2005, 12:35
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, 12:51
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

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, 18:00
Yes, that was it, it's working now! :) :) Thanks!