When I tried "use CGI::Carp qw(fatalsToBrowser)
I saw the following:
Internal Server Error

What does it say in the server error log ( /private/var/log/httpd/ ) ?


And can you still run it from the command line?
How do you run it from the command line?
> perl script.cgi
or
> ./script.cgi

(The latter needs to work for CGI, permissions should be set to 755 (chmod a+x script.cgi) )


I also ran the script from a browser as Root and I still got the same message.

That will have no effect.
No matter what user is running the browser (or if that browser is local or on a remote machine),
the CGI will always be executed with the web server's permissions.




Thilo



Reply via email to