Thanks for replying so quickly. Yes, I have
<Directory /var/www/cgi-bin>
AllowOverride All
Options ExecCGI
</Directory>
I have been able to get around the problem by specific entries, e.g.
<Directory /var/www/html/gedview>
AllowOverride All
Options ExecCGI
</Directory>
and by putting the cgi script in the given directory, but this usually means modifying supplied scripts, etc.
The cgi-bin directory seems to have the same owner (root) and the same
permissions (755) as all the others.
Doug.
>> I am running Mandrake 9.0 with Apache 1,3.
>> I am unable to access cgi scripts in my cgi-bin directory
>> (/var/www/cgi-bin). My commonhttpd.conf has:
>> ScriptAlias /cgi-bin/ /var/www/cgi-bin/
>> ScriptAlias /protected-cgi-bin/ /var/www/protected-cgi-bin/
>> As I read the documentation, that should be sufficient, but it isn't.
>> I get a "you don't have permission" message.
>> Any suggestions appreciated.
> Do you have a <Directory "/var/www/cgi-bin"> block which gives permissions
> to access that area (Allow from ...)? If not, and your default for a
> higher level (like <Directory "/">) is to deny, you won't be able to
> access cgi-bin.
--
"For every human problem, there is a neat, simple solution; and it is always
wrong."
- H. L. Mencken