You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sébastien Riccio <ba...@web-services.com> on 2003/03/28 12:28:40 UTC
[users@httpd] Help needed with Location and/or LocationMatch
Hi !
I would like to know if someone has already sucessfully used Location or
LocationMatch
to block access to a resource based on the url and url parameters
(?www=xxx&yyy=zzz).
Actually I need to filter access to such a location:
http://host.domain.tld/cgi-bin/awstats.pl?config=www.site1.ch
Only the parameter www.site1.ch is changing, but it looks like
i can't get Location or LocationMatch to take care of url parameters =/
Any successful stories, any ideas ??
:-))
Thanks a lot
Sébastien Riccio
Omicron Web-Services S.A.
Place de la Gare 4
1003 Lausanne
Switzerland
Tel +41-21-3453611
Fax +41-21-3453619
---------------------------------------------------------------------
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
Re: [users@httpd] Help needed with Location and/or LocationMatch
Posted by Joshua Slive <jo...@slive.ca>.
On Fri, 28 Mar 2003, Sébastien Riccio wrote:
> Hi !
>
> I would like to know if someone has already sucessfully used Location or
> LocationMatch
> to block access to a resource based on the url and url parameters
> (?www=xxx&yyy=zzz).
>
No, <Location/Match> does not match against the query string. For that
you can use either SetEnvIf or RerwiteCond+RewriteRule.
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