Hi...
Im trying to config my intranet to be accessible from inside the network (lan) without need of password and ask for a passwd for those who are viewing from Wan ....
Today my intranet can only be accessed from Lan, external access give me an Unauthorized message, I took look around, try #irc and still can get the appropriated help, I hope that someone here could help me on that...
A piece of my config:
Code:
<VirtualHost *:80>
ServerName intranet.somehostname.com
ServerAlias intranet2.somehostname.com
DocumentRoot /var/www/intranet
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/intranet>
Options Indexes FollowSymLinks MultiViews
Order deny,allow
deny from all
allow from 127.0.0.0/255.0.0.0 192.168.1.0/255.255.255.0 192.168.0.0/255.255.255.0 ::1/128 200.x.x.x 200.x.x.x 200.x.x.x 200.x.x.x
AllowOverride AuthConfig
AuthName "Restrict Access"
AuthType Basic
Satisfy any
AuthUserFile /etc/apache2/auth/httppw.db
require valid-user
</Directory>
best regards []s