httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] Want to restrict access to a single host
Date Tue, 18 May 2004 17:51:37 GMT
Shaun T. Erickson
> Thanks. Will this work also?
> <VirtualHost *>
>      DocumentRoot /some/path
>      <Location />
>          Order Deny,Allow
>          Deny from all
>          Allow from
>      </Location>
> </VirtualHost>

I am not sure. According to the docs, Order can be used in directory and
.htaccess context. I am a bit rusty, so I don't feel 100% certain that means
it isn't allowed. I am not sure why it shouldn't be supported in location.
Stick with using <Directory> if you can.

Robert Andersson

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