making exception to system-wide Location rules

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

 



I have a configuration which applies server-wide config rules using
Location directive
{{{
<Location />
  config-rules
</Location>
}}}

I want to make an exception to this rule for a particular directory.
This directory is outside DocumentRoot and hence I used Alias and
Directory to make such exception. So I have,
{{{
Alias /repository /var/repository
<Directory /var/repository>
  Order Deny, Allow
  Allow from all
</Directory>
}}}

But server-wide config rules defined using Location directive are
still getting applied. I thought Directory rules are applied before
Location directive and hence put such configuration. Any help on
what's wrong with this config and how to make such exception to
system-wide rules?

System Config: CentOS 5.5 and Apache httpd 2.2.3-31.

Thanks,
CS.

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