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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to