Re: [users@httpd] restrict Location URL with special string

2018-06-13 Thread Rainer Canavan
On Wed, Jun 13, 2018 at 2:27 PM MOKRANI Rachid wrote: > I have URL like below (with ? and =) > http://myserver/?s=about > > What’s the correct syntax to allow only some IP. > > Require ip 127.0.0.1 > only matches the path part of the URL, not the query string (i.e. the part after the ?). The

Re: [users@httpd] restrict Location URL with special string

2018-06-13 Thread Eric Covener
> Nothing work. Those only match the path. In 2.2, use mod_rewrite. In 2.4, use . - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

[users@httpd] restrict Location URL with special string

2018-06-13 Thread MOKRANI Rachid
Hi, I have URL like below (with ? and =) http://myserver/?s=about What’s the correct syntax to allow only some IP. Require ip 127.0.0.1 Require ip 127.0.0.1 Require ip 127.0.0.1 Nothing work. Thanks in advance for any suggestion. Regards. __ Avant d'imprime