some questions on inheritance/section merging

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

 



Hi...

When I have e.g.
<Directory /path/toVhostRoot>
	Options none
	AllowOverride none
	Satisfy all
	Order allow,deny
	Deny from all
</Directory>

and I make a subdir with just:
<Directory /path/toVhostRoot/subdir>
	Allow from all
</Directory>



1) Then all of:
	Options none
	AllowOverride none
	Satisfy all
	Order allow,deny
are inherited by the subdir, right?



2) How's about <Files> sections (somehow inside/below such a <Directory>
section.
As far as applicable, when I have something like:
<Directory /path/toVhostRoot>
	<Files foo>
	</Files>
</Directory>
or in a deeper subdir:
<Directory /path/toVhostRoot/subdir>
	<Files foo>
	</Files>
</Directory>
those directives would be inherited, too, right?



3) How's about <Location> sections (somehow inside/below such a
<Directory> section.
<Directory /path/toVhostRoot>
	<Location foo>
	</Location>
</Directory>
or in a deeper subdir:
<Directory /path/toVhostRoot/subdir>
	<Location foo>
	</Location>
</Directory>

Would it be inherited?
Would the <Location> sections even match, if the don't point to a file,
matched by the surrounding <Directory>? And would it, if it does?


4) How's that for Location/Files not below/inside the above <Directory>?
e.g.
<Directory /path/toVhostRoot>
	Options none
	AllowOverride none
	Satisfy all
	Order allow,deny
	Deny from all
</Directory>
<Files foo>
</Files>
<Location foo>
</Location>

a) If Files matches a file, below /path/toVhostRoot ... it would also
inherit the options, right?

b) What about Location? Is the same true here?
Cause if Location matches just something virtual that doesn't exist in
the filesystem,... it would probably "inherit" nothing from the
Directory.



Thanks,
Chris.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[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