apache authentication
Posted
by veilig
on Server Fault
See other posts from Server Fault
or by veilig
Published on 2010-02-24T18:06:58Z
Indexed on
2010/04/14
9:03 UTC
Read the original article
Hit count: 399
I'm trying to set up a local webserver on my network. I want to be able to be able to access the webserver from any machine inside my network w/out authenticating. and two extra domains need access to it w/out authenticating. Everyone else I would like to authenticate in. so far, I can get to it from inside my network. and the two extra domains can access my webserver, but everyone else is just hanging. They don't get an authentication or anything.
can anyone tell me what I'm doing wrong here?
This is part of my apache's site-available file so far:
<Directory /path/to/server/>
Options Indexes FollowSymLinks -Multiviews
Order Deny,Allow
Deny from All
Allow from 192.168
Allow from localhost
Allow from domain1
Allow from domain2
AuthType Basic
AuthName "my authentication"
AuthUserFile /path/to/file
Require valid-user
Satisfy Any
AllowOverride All
<Files .htaccess>
Order Allow,Deny
Allow from All
</Files>
</Directory>
© Server Fault or respective owner