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 18:53:48 -0700


--------------020603060605000806070306
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

ouch!..thanks...I made the change to htpasswd and it is indeed blocked 
vrom viewing.


Thanks!

Anthony

Matt Alexander wrote:

>So what happens when you browse to:
>
>http://localhost/test/.test
>
>???
>
>Your httpd.conf file should be configured to automatically block the
>loading of any files that start with .ht.  So you should name the
>AuthUserFile something like .htpasswd instead.  Also, it wouldn't hurt to
>move this file out of the webtree and put it in another directory that the
>webserver has read access to.
>~M
>
>
>On Tue, 1 Oct 2002, Anthony Hologounis wrote:
>
>  
>
>>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>
>>    
>>
>
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>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
>
>  
>


--------------020603060605000806070306
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
ouch!..thanks...I made the change to htpasswd and it is indeed blocked vrom
viewing.<br>
<br>
<br>
Thanks!<br>
<br>
Anthony<br>
<br>
Matt Alexander wrote:<br>
<blockquote type="cite"
 cite="midPine.GSO.4.33.0210011645090.10188-100000@lukem.com">
  <pre wrap="">So what happens when you browse to:

<a class="moz-txt-link-freetext" href="http://localhost/test/.test">http://localhost/test/.test</a>

???

Your httpd.conf file should be configured to automatically block the
loading of any files that start with .ht.  So you should name the
AuthUserFile something like .htpasswd instead.  Also, it wouldn't hurt to
move this file out of the webtree and put it in another directory that the
webserver has read access to.
~M


On Tue, 1 Oct 2002, Anthony Hologounis wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">That was it!

the missing piece was this in the htpd.conf file

&lt;Location /test/&gt;
AuthName "restricted stuff"
AuthType Basic
AuthUserFile /var/www/test/.test
require valid-user
&lt;/Location&gt;
    </pre>
  </blockquote>
  <pre wrap=""><!---->
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
PLUG-discuss mailing list - <a class="moz-txt-link-abbreviated" href="mailto:PLUG-discuss@lists.plug.phoenix.az.us">PLUG-discuss@lists.plug.phoenix.az.us</a>
To subscribe, unsubscribe, or to change  you mail settings:
<a class="moz-txt-link-freetext" href="http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss">http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss</a>

  </pre>
</blockquote>
<br>
</body>
</html>

--------------020603060605000806070306--