httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Re: Serve /var/www and public_html
Date Fri, 09 Jun 2006 00:08:17 GMT
On 6/8/06, reader@newsguy.com <reader@newsguy.com> wrote:
> "Joshua Slive" <joshua@slive.ca> writes:
>
> [...]
>
> >> Adding that directory specifally (..htdocs/exp) in another `Directory'
> >> statement does make cgi work there but that shuold just happen with
> >> the above Directory statement right?
> >
> > Assuming you had *no other options directives*, then yes.  Your
> > problem is that you have another options directive someplace applying
> > to that directory and not including execcgi.
>
> OK, sorry to be such a pest here but let me make sure I got this
> right.
>
> There is a sort of generic default allow nothing Directory statement
> over '/'.
>
> <Directory />
>     Options FollowSymLinks
>     AllowOverride None
> </Directory>
>
> So does that then mean that setting execCGI on
> /var/www/localhost/htdocs will not cover
> /var/www/localhost/htdocs/subdir?

No.  You are correct in thinking that more specific <Directory>
sections override less-specific ones in general.  The specific
ordering is defined here:
http://httpd.apache.org/docs/2.2/sections.html#mergin

So you likely have another Options directive someplace.

Joshua.

---------------------------------------------------------------------
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