httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
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 1.2.3.4
>      </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.

Regards,
Robert Andersson



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message