Click to See Complete Forum and Search --> : CGI doesn't run...


Jimmy Lio
03-04-2003, 06:24 AM
CGI scripts in my user account don't run!!! Why Why Why?

Below is the lines that can be found in my Apache conf files

...
<Directory /var/www/html/cgi-bin>
AllowOverride All
Options ExecCGI
</Directory>
...
...
<Directory /home/*/public_html/cgi-bin>
Options ExecCGI Includes Indexes
Order allow,deny
Allow from all
</Directory>
...
...

Scripts placed in /var/www/html/cgi-bin run okay... but not in my user accounts. Scripts in my user accounts give only Internal Server Error...

Please help...

Jimmy :confused:

Leigh
03-05-2003, 12:21 AM
1. Is the shebang line correct?
2. Does the script concerned have execute permissions for user apache?
3. Is the script valid? Can it be run from the command line? Or does it contain errors?
4. Have you tried using CGI::Carp with fatalsToBrowser enabled? This could help enormously.


Your web server log should give you some more information on what the internal server error is.