httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject [users@httpd] Re: how to limit access to application base on port number
Date Tue, 05 Apr 2005 18:27:00 GMT
On Apr 5, 2005 1:53 PM, Charles Li <> wrote:
> Joshua,
> Another related question.
> What if I want users to be able to access "/" on any
> port, which give a generic page, but lock down the
> other applications?
> ie.
> this is OK:  server:7777/ or server:8888/
> for port 7777:
> this is OK:
> server:7777/ or server:7777/App001 ONLY

<Location />
Order deny,allow
Deny from all
<LocationMatch ^/$>
Order deny,allow
Allow from all
<Location /App001>
Order deny,allow
Allow from all

You may want to allow access to ^/index.html$ as well in a similar fashion.


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