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!

htaccess weird problem

Status
Not open for further replies.

keak

Programmer
Sep 12, 2005
247
CA
hi there,
im trying to setup htaccess passwd authentication,
currently, when a user types in the correct id/pass it directs to the correct page.

But when an invalid pair is entered, instead of reprompting (and after 3 invlaid attems redirect to the authorization error page), it goes to the correct URL but gives a blank page.

Here is my htaccess file:

any help will be great :)


AuthName "members only"
ErrorDocument 401 /401.php
AuthUserFile /AuthGroupFile /dev/null
AuthType Basic


Options -Indexes
require valid-user

ErrorDocument 401 /401.php
 
has anyone ever encountered this problem before ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top