You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by jallen <jo...@hotmail.com> on 2007/06/26 18:10:18 UTC
[users@httpd] RE: How to apply auth/authzn to regex paths rather than
s
As i expect that is very discourteous I will simply reply to my good friend
Fernando Gomez (don't laugh, that's his name), wkurzać
To all others, sorry for the double post, nabble nightmares, <Location>s is
obviously the solution to my problem (and I should of thought of it too)
Thanks again
fernando.gomez wrote:
>
> vETE A LA MIERDA!!!!!
>
> -----Mensaje original-----
> De: jslive@gmail.com [mailto:jslive@gmail.com]En nombre de Joshua Slive
> Enviado el: martes, 26 de junio de 2007 15:23
> Para: users@httpd.apache.org
> Asunto: Re: [users@httpd] How to apply auth/authzn to regex paths rather
> than <Directory>s
>
>
> On 6/26/07, jallen <jo...@hotmail.com> wrote:
>
>> Access to the this URL should just be passed on to ajp13 worker and thus
>> the
>> external Tomcat application to handle:
>>
>> http://repository.example.com/com/foo/bar/readme.txt
>>
>> Where as these URLs should be challenged by Apache authnz before being
>> passed onto ajp and Tomcat
>>
>> http://repository.example.com/com/foo/private-readme.txt
>> http://repository.example.com/com/foo/secret/also-private.txt
>>
>>
>>
>> Is this possible?
>
> Use a <Location> section, which works based on URL-paths and not
> filesystem-paths.
>
> But be careful to consider how tomcat will canonicalize requests.
> <Location> matches exact paths so you need to make sure that tomcat
> won't match more than one url-path to the same file.
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/How-to-apply-auth-authzn-to-regex-paths-rather-than-%3CDirectory%3Es-tf3982618.html#a11308752
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org