[KLUG Members] htaccess

Russell Dillenburg members@kalamazoolinux.org
Mon, 14 Jul 2003 10:20:22 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0018_01C349F1.8876AA10
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I'm trying to get htaccess to work for some basic http authorization.

[root@NS admin]# cat .htaccess
AuthUserFile /var/www/.htaccess
AuthGroupFile /dev/null
AuthName "Login"
AuthType Basic

require test
[root@NS admin]#

When I go to this page it is prompting me for user/pass, but when I type it
in it just fails and after third try comes back with authorization failed.

Any suggestions?

Thanks,
Russell

------=_NextPart_000_0018_01C349F1.8876AA10
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D080241615-14072003><FONT face=3DArial size=3D2>I'm =
trying to get=20
htaccess to work for some basic http =
authorization.&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=3D080241615-14072003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D080241615-14072003><FONT face=3DArial =
size=3D2>[root@NS admin]# cat=20
.htaccess</FONT></SPAN><SPAN class=3D080241615-14072003><FONT =
face=3DArial=20
size=3D2><BR>AuthUserFile /var/www/.htaccess<BR>AuthGroupFile=20
/dev/null<BR>AuthName "Login"<BR>AuthType Basic</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=3D080241615-14072003><FONT face=3DArial =
size=3D2>require=20
test<BR>[root@NS admin]#<BR></FONT></SPAN></DIV>
<DIV><SPAN class=3D080241615-14072003><FONT face=3DArial size=3D2>When I =
go to this=20
page it is prompting me for user/pass, but when I type it in it just =
fails and=20
after third try comes back with authorization =
failed.</FONT></SPAN></DIV>
<DIV><SPAN class=3D080241615-14072003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D080241615-14072003><FONT face=3DArial size=3D2>Any=20
suggestions?</FONT></SPAN></DIV>
<DIV><SPAN class=3D080241615-14072003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D080241615-14072003><FONT face=3DArial=20
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D080241615-14072003><FONT face=3DArial=20
size=3D2>Russell</DIV></FONT></SPAN></BODY></HTML>

------=_NextPart_000_0018_01C349F1.8876AA10--