> <VirtualHost ....>
> ServerName www.example.com
> ...
> <Location /?q=User>
>  Order Deny,Allow
  Deny from all
>  Allow from 192.168.20.0/24
> </Location>
> </VirtualHost>

Try that
On Mar 25, 2014, at 2:48 PM, pch0317 <pch0...@gmail.com> 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 this location.
> 
> Issue:When I configure virtual host with "Location" statement:
> 
> <VirtualHost ....>
> ServerName www.example.com
> ...
> <Location /?q=User>
>  Order allow,deny
>  Allow from 192.168.20.0/24
> </Location>
> </VirtualHost>
> 
> user from 192.168.0.0/24 can open www.example.com/?q=User. Why?
> 
> Best regards,
> pch
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
> 



Paul Singleton
paol...@gmail.com




Reply via email to