httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Carlsson <>
Subject [users@httpd] Location question
Date Tue, 04 Apr 2006 06:55:10 GMT

I feel quite stupied to have to ask this question but since I don't find 
any example of how to do this and my own attempts have failed.....

I want to stop all requests to a url on the form: 
if they are not from 192.168.*

I have tried with the following code in my virtual host-configuration.

<Location "/*/webservice">
    Order Deny,Allow
    Allow from
    Deny from All

This works but I need the wildcard since i don't know the exact location 
and I will not know this in the future.
<Location "/afile/webservice">
    Order Deny,Allow
    Allow from
    Deny from All

Is there a solution to my problem or do I have to rethink my application?

Thanks in advance
Roland Carlsson

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message