httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] uri and location directive
Date Mon, 03 Apr 2006 15:42:31 GMT
On 4/3/06, toni pérez <> wrote:
> Hi list,
> I have got an apache auth_module write in c to apply own requires in
> an own authorization handler, such this:
> <Location "/apw5/rme">
> allow from all
> AuthType CA2
> require ACL
> Grupo 'RME_usuaris'
> </Location>
> <Location  "/apw5/">
> allow from all
> AuthType CA2
> </Location>
> When the server receives the url http://myserver/apw5/rme,  is the
> second directive "/apw5" instead "/apw5/rme" that do match.
> Why do this?
> I need a solution that isn't change the order of directives

The ordering of configuration merging is defined here:

If /apw5 is really a directory in the filesystem, you can fix this by
using the appropriate <Directory> section instead of <Location>. 
Otherwise you must change the order in the config file.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message