You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eric Wagar <ew...@yahoo.com> on 2002/07/21 09:42:25 UTC

Order deny, allow...where to specify for whole site with Virtual Domains

I'm running Apache 1.3.19, and I am wondering where I correctly specify
the
Order allow,deny
Allow from all
Deny from IP IP IP.
 
I also have two Virtual Domains specified, and I'd like all domains I
host (or may host in the future) to be protected.  Since I'd like them
all to be protected, do I need to specify at
<Directory "/usr/local/apache/htdocs/ourdomain.com">
or at
<Directory />
    Options FollowSymLinks Includes
    AllowOverride All
</Directory>
 
The only one that I have gotten to work is the one with
<Directory "/usr/local/apache/htdocs/ourdomain.com">
But, that doesn't mean I correctly configured the directive in the first
place.
 
TIA
eric