What flavor OS is the server you are uploading to?
If it's Un*x based could it be an issue with the EOL characters in your code?
Also are the permissions set correctly on the script? Is your interpreter
declaration correct for the server? ("shebang line").
When you say that the script runs fine on your PC
how are you interacting with it, via command line? If so double check that your
are printing the correct content-type header (including 2 newline characters),
that would cause issues on the server end that you wouldn't see from the command
line.
It would be helpful if you included some code for
us to peek at.
-Dave
----- Original Message -----
Sent: Monday, December 16, 2002 2:32
PM
Subject: Testing Perl scripts.
I have written a Perl script which works fine on my PC,
under ActivePerl 5.6 and 5.8. However, once it is uploaded to the
internet server, I get an internal server error:
"The server
encountered an internal error or misconfiguration and was unable to complete
your request."
Is there any way of testing a Perl script over the
internet, other than remarking out lines until you find which one is causing
the problem??
The script itself only generates some HTML code, which
appears to be correct and have the correct identifier
etc...
-- Rich Mellor RWAP Software 35 Chantry Croft,
Kinsley, Pontefract, West Yorkshire, WF9 5JH TEL: 01977
610509 http://hometown.aol.co.uk/rwapsoftware
|