httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "toni pérez" <planetaenfe...@gmail.com>
Subject [users@httpd] uri and location directive
Date Mon, 03 Apr 2006 15:10:51 GMT
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
require USUARIO-VALIDO
</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

thanks,
Mime
View raw message