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!

authorization but not for index.html

Status
Not open for further replies.

HobbyMan

Programmer
Sep 22, 2000
25
0
0
US
I want my document root to be authenticated for everything
but the "index.html" file. Basically I want users to be
able to see the index page before they have to
authenticate. I would then authenticate for everything
else.

Is that possible?

lance
 
You should be able to do something like this:
Code:
<Files ~ &quot;[^i][^n][^d][^e][^x][^\.][^h][^t][^m][^l]&quot;>
AuthName etc.
</Files>
There is probably some easier way of doing it, but this was the first thing that I came to think of. //Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top