On Tue, 9 Jul 2002, Benjamin Huot wrote:
>What should my permissions be for the directory, why won't it execute?
> 
>The following was the error message
>
>404 Not Found
>
>Not Found
>
>The requested URL /cgi-bin/bbmat.cgi was not found on this server.

First, make sure your Apache has mod_cgi and mod_alias compiled and
loaded.

Next, make sure your httpd.conf contains a line of the form

     ScriptAlias /cgi-bin/ "/path/to/your/cgi-bin/"

Next, make sure your cgi-bin directory has at least the execute permission
for all users.  For example,

     chmod a+x /path/to/your/cgi-bin

The same should be true for all parent directories leading up to your
cgi-bin directory.  In the above example, that means /, /path, /path/to,
and /path/to/your should all have at least world execute permissions.

Finally, each executable file in your cgi-bin directory should have world
execute permissions.  If the executable is a script (rather than a
compiled C program), it should also have world read permissions.

                   - Neil Parker, [EMAIL PROTECTED]

Reply via email to