Re: [users@httpd] Re: Serve /var/www and public_html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/8/06, reader@xxxxxxxxxxx <reader@xxxxxxxxxxx> wrote:
"Joshua Slive" <joshua@xxxxxxxx> 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux