Re: [users@httpd] Permission with Location

2014-03-26 Thread Eric Covener
On Wed, Mar 26, 2014 at 8:35 AM, Paweł Ch. wrote: >> > >> Location only matches against the path component, not the query string. >> >> if you're in 2.4, check out . In 2.2, use mod_rewrite with a >> RewriteCond. > Is some other solution to allow access only form 192.168.20.0/24? There probably

Re: [users@httpd] Permission with Location

2014-03-26 Thread Paweł Ch .
Is some other solution to allow access only form 192.168.20.0/24? On 25 March 2014 23:15, Eric Covener wrote: > > > Location only matches against the path component, not the query string. > > if you're in 2.4, check out . In 2.2, use mod_rewrite with a > RewriteCond. > > --

Re: [users@httpd] Permission with Location

2014-03-26 Thread Paweł Ch .
It don't work :-( On 25 March 2014 22:53, Paul Singleton wrote: > > ServerName www.example.com > ... > > Order Deny,Allow > > Deny from all > > Allow from 192.168.20.0/24 > > > > > Try that > On Mar 25, 2014, at 2:48 PM, pch0317 wrote: > > Hi List, > > Goal:only user from 192.168.20.0/

Re: [users@httpd] Permission with Location

2014-03-25 Thread Eric Covener
> Location only matches against the path component, not the query string. if you're in 2.4, check out . In 2.2, use mod_rewrite with a RewriteCond. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional comm

Re: [users@httpd] Permission with Location

2014-03-25 Thread Paul Singleton
> > ServerName www.example.com > ... > > Order Deny,Allow Deny from all > Allow from 192.168.20.0/24 > > Try that On Mar 25, 2014, at 2:48 PM, pch0317 wrote: > Hi List, > > Goal:only user from 192.168.20.0/24 should access "www.example.com/?q=User" > URL. Other user shouldn't access th

[users@httpd] Permission with Location

2014-03-25 Thread pch0317
Hi List, Goal:only user from 192.168.20.0/24 should access "www.example.com/?q=User" URL. Other user shouldn't access this location. Issue:When I configure virtual host with "Location" statement: ServerName www.example.com ... Order allow,deny Allow from 192.168.20.0/24 user from 192