Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^3: CGI script gives "internal server error"

by thunders (Priest)
on Mar 03, 2009 at 20:30 UTC ( #747885=note: print w/replies, xml ) Need Help??

in reply to Re^2: CGI script gives "internal server error"
in thread CGI script gives "internal server error"

Maybe your server doesn't know to use perl to execute .cgi files? First make sure your script is executable(if on unix). Also try adding one of the following shebang lines as the very first line in your script.

WINDOWS either:

You should substitute the path with the correct path to your perl executable

UPDATE: Doh, obviously those are windows paths. Ignore what I said about UNIX and try "#!perl" on the first line. Also verify the file has the correct permissions, that it's readable by the webserver

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://747885]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2016-10-28 20:17 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.