Forum Moderators: coopster & phranque

Message Too Old, No Replies

Internal Server Error when script tries to run

         

lisad

6:38 pm on Aug 6, 2003 (gmt 0)

10+ Year Member



When I try to submit a page that runs a script, I get this error:
________________________________________________________
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@site.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

Premature end of script headers: /usr/home/wphost2/public_html/cgi/canadd.cgi

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

--------------------------------------------------------------------------------

Apache/1.3.3 Server at server.site.net Port 80

________________________________________________________

The website has recently moved to a different server. Does that have anything to do with my problem?

Does anyone know how to fix this error? Where the problem lies?

Thank you!

[edited by: jatar_k at 10:07 pm (utc) on Aug. 6, 2003]
[edit reason] generalized url [/edit]

lisad

6:44 pm on Aug 6, 2003 (gmt 0)

10+ Year Member



I figured out the problem myself..

Thanks anyway!

bcolflesh

6:45 pm on Aug 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If it isn't already - try chmod-ing the script to 755. Also check the "shebang" line at the beginning and see if the path to Perl is correct.

[Doh - too late!]