daveko
asked on
Unable to exec perl cgi's from url
Made this worth 250 points since I need an answer soon.
I have linux mandrake 6.1 and all i'm trying to do is have a perl cgi execute when I access it from a url.
e.g.: http://mywebserver/test.pl
I want it to return the html output from that perl script.
instead, what i get is:
--
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
---
the perl script executes fine from the linux prompt. any ideas?
thanks!
dave
I have linux mandrake 6.1 and all i'm trying to do is have a perl cgi execute when I access it from a url.
e.g.: http://mywebserver/test.pl
I want it to return the html output from that perl script.
instead, what i get is:
--
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
---
the perl script executes fine from the linux prompt. any ideas?
thanks!
dave
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
the http server.
You will get an idea of what is failing.
Logs should be in
/home/httpd/logs/*access* and
/home/httpd/logs/*error*
Also make sure you are looking for the script in the
cgi-bin directory: for eg.
http://webserver/cgi-bin/script.pl