[ back to toc ]

CGI scripting using Rehat 7.2

Date: 2002/04/25 13:03

Q:
Hello. I am trying to redirect my scripts so they read from a different
directory then the default. I placed the following line in my httpd.confScriptAlias /cgi/ /home/DOMAIN/html/cgi/ but I'm getting still the
"Internal Server Error" page. Is there anything you recommend? Thanks in
advance!

Mike
A:
When you program CGI code there should no program depend on the actual
setting of the default current working directory. There is no definition
in the standard what the CWD should be for the server started CGI process
and it varies for each web server and there is no guarantee that the next
version of the Apache will handle it the same way as it does now.

To discover what the Internal Server Error is read my advices at

http://peter.verhas.com/tutorials/InternalServerError.html

Regards,
Peter

[ back to toc ]