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

Basic authentication-how to secure an index page instead of the hole f

Status
Not open for further replies.

abiale

Vendor
Aug 9, 2002
20
PL
Could anybody of you help me?

I`d like to know hot to protect only an index page instead of the hole directory (what is done when I put the following line in the config file of Apache).

<Directory D:/usr/serwis/AuthType Basic
AuthName &quot;My zone&quot;
AuthUserFile D:/usr/apache/apache2/passwd/passwords/htpasswd.txt
AuthGroupFile /usr/apache/apache2/passwd/groups
Require valid-user
</Directory>

The directives Location and Files may not be included as I suppose, but I may be wrong.

I would appreciate a lot yout eventual help,

Artur
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top