httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pch0317 <pch0...@gmail.com>
Subject [users@httpd] Permission with Location
Date Tue, 25 Mar 2014 21:48:29 GMT
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-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message