httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] cgi-bin in VirtualHost
Date Mon, 07 May 2007 17:49:48 GMT
Joshua Slive wrote:
> On 5/7/07, Joe Demeny <jd_boro@borozo.com> wrote:
> 
>> It never occurred to me that I needed to add these permissions in the
>> <Directory> section.
>>
>> In the main configuration part I have user directories defined as:
>>
>> <Directory /home/*/htdocs>
>>      AllowOverride None
>>          Order allow,deny
>>          Allow from all
>> </Directory>
>>
>> I assumed that this definition was going to be "inherited" by the
>> <VirtualHost> directives.
> 
> It is. But your cgi bin directory is not under /home/*/htdocs. If you
> have a bunch of sites, you may want to add a similar section for
> <Directory /home/*/cgi-bin>.

Keep in mind also that wildcard/regex match locations, directories and
files are all applied after their non-pattern, explicit flavors.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message