in reply to Re^3: [OT] apache authentication default user?
in thread [OT] apache authentication default user?
So no requiring a valid user. Now i have this in my code:AuthType Basic AuthName "Formula Student Wiki" AuthUserFile /home/formulas/.htpasswd #Require valid-user
Now my browser asks me for credentials 3 times, i enter them correctly but it still fails and i get the "Login Failed" message.sub requestLogin { if (($ENV{'REMOTE_USER'}) || ($ENV{'AUTH_USER'})) { message ('info', "Logged in."); } else { print <<EOF; Status: 401 Authorization Required WWW-Authenticate: Basic realm="Formula Student Wiki" Connection: close Content-type: text/plain Login failed. EOF } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: [OT] apache authentication default user?
by Anonymous Monk on Oct 25, 2004 at 02:11 UTC | |
by Jaap (Curate) on Oct 25, 2004 at 07:15 UTC |