Matthew Harrison wrote: > [Tue Feb 19 02:23:39 2002] [error] (2)No such file or directory: exec of > /var/www/cgi-bin/admin.cgi failed In order to get scripts to run from a web page you have to tell Apache: - Where the script file is - That is needs to be executed This is done by the ScriptAlias directive in httpd.conf
The ScriptAlias tells Apache that the alias "cgi-bin" points to the /var/www/cgi-bin/ directory (in your case) and that scripts can be run from that directory. So when you browse to http://www.some.address/cgi-bin/admin.cgi Apache has to have the cgi-bin defined so that it can look for (and find) admin.cgi to execute it. The ScriptAlias directive allows scripts in the cgi-bin directory to be executed. If you look in your httpd.conf you will find the ScriptAlias directive for the /cgi-bin/ and if it does not point to your /var/www/cgi-bin/ directory, then, you need to change it to that directory or move your script into the directory cgi-bin points to. Hth. Shaun -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]