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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

htaccess: no pw from intranet

Status
Not open for further replies.

zoomby

Programmer
Aug 5, 2002
60
0
0
DE
hi!

I want to password-protect an intranet. But the login dialog should only show for users who want to access the intranet from outside. so if you access the site with ip's like 192.168... no password should be necessary, with other ips's you have to enter a password.
how to write such a htaccess file?

thanks & bye
chris
 
hi!

thanks for the answer, but I get an internal server error (I deleted the "AuthGroupFile" directive, hope that isn't the reason). I also got this error when I tried some other directives like "allow" or "deny".
Any suggestions?

bye
chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top