[users@httpd] Location question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

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: http://myserver/*/webservice/*
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 192.168.10.100
   Deny from All
</Location>

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 192.168.10.100
   Deny from All
</Location>

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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux