Re: [users@httpd] Re: how to limit access to application base on port number

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

 



On Apr 5, 2005 1:08 PM, Charles Li <cli168@xxxxxxxxx> wrote:
> Thanks.
> 
> This is what I have setup:
> 
> <VirtualHost _default_:8000>
> # deny any url that does not match "/AAA"
>     <LocationMatch "!^(/AAA)">
>         Order Deny,Allow
>         Deny from all
>     </LocationMatch>
> </VirtualHost>

Your LocationMatch does not use proper regex syntax.  You probably
want something like

<Location />
Order deny,allow
Deny from all
</Location>
<Location /AAA>
Order deny,allow
Allow from all
</Location>

---------------------------------------------------------------------
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