httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] .htaccess not for all hosts (VirtualHosts)
Date Tue, 01 May 2007 13:21:22 GMT
On 5/1/07, Christoph P. Kukulies <kuku@kukulies.org> wrote:
> I'm running apache 1.3.28 which serves the outside (Internet) network
> and an Intranet (through address 192.168.1.x)
>
> To the outside server I'm using .htaccess password protected pages
> while I would like to open the pages to the Intranet.
>
> At the end of httpd.conf I have this:
>
> #
> <VirtualHost 192.168.1.116:80>
> ServerAlias foruminternal.mysite.net
> ServerAdmin info@mysite.de
> <Directory "/usr/local/www/data">
> Options -Indexes -FollowSymlinks
> order allow,deny
> Allow from 192.168.1.
> AllowOverride None
> </Directory>

Add
Satisfy Any
to the above Directory block.

Joshua.

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