Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache question

Status
Not open for further replies.

hereigns

MIS
Sep 17, 2002
172
US
Running RH E3W with apache 2.0

Need help setting up authentication access to an "Intranet" with public access. Want to allow users inside a specific address range, 192.168.0.1-254, to bypass authentication while ALL others are prompted for authentication which as you can see it prompts for authentication in all cases.

Help?

Here's what I've come up with so far...
<Directory "/var/ AuthType Basic
AuthName "** Authorized Personnel Only **"
AuthUserFile /var/ Require user abc
AllowOverride None
Order allow,deny
Allow from all
 
Thanks, sorry for posting in the wrong forum.

Here was the solution I found.

<Directory "/var/ AllowOverride AuthConfig
AuthType Basic
AuthName "** Authorized Personnel Only **"
AuthUserFile /var/ <Limit GET POST>
order deny,allow
deny from all
allow from 192.168.0
</Limit>
</Directory>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top