Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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. UNIX:#!/usr/bin/perl WINDOWS either: #!perl or #!C:\perl\bin\perl.exe 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 In reply to Re^3: CGI script gives "internal server error"
by thunders
|
|