Re: .htaccess not for all hosts (VirtualHosts)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/1/07, Christoph P. Kukulies <kuku@xxxxxxxxxxxx> 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@xxxxxxxxx
<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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux