Internal Server Error with CGI scripts?

Discussion in 'Programming/Scripts' started by lola, Apr 21, 2005.

  1. lola

    lola New Member

    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!

  2. tylerdurden

    tylerdurden New Member

    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!

  3. lola

    lola New Member

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

Share This Page