Trying to get htaccess to work...or...man, what am I doing wrong!
Anthony Hologounis
plug-discuss@lists.plug.phoenix.az.us
Tue, 01 Oct 2002 16:39:11 -0700
That was it!
the missing piece was this in the htpd.conf file
<Location /test/>
AuthName "restricted stuff"
AuthType Basic
AuthUserFile /var/www/test/.test
require valid-user
</Location>
Thanks !
Anthony
Phil Mattison wrote:
>You're on the right track. Try this:
>
>Create a Location within your vhost definition in httpd.conf:
>
><Location /test/>
>AuthName "restricted stuff"
>AuthType Basic
>AuthUserFile /var/www/test/.test
>require valid-user
></Location>
>
>Create the password file:
>/usr/bin/htpasswd -c /var/www/test/.test <user-name>
>
>Hint: don't put the auth file in your DocumentRoot path.
>--
>Phil Mattison
>Ohmikron Corp.
>480-722-9595
>602-820-9452 Mobile
>
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
>To subscribe, unsubscribe, or to change you mail settings:
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>