.htpasswd Failure .. htpasswd recreation also not working 






 I added a <Location />   for     restricting access to   my  web site URL    . 
I used   Basic  Authentication module..





I created      #htpasswd  -c  .htpasswd  test 



   password  :  test   


    

 

and restarted  apache .   The  path to  AuthUserFile   is   absolutely the 
system path no error in   that ..



but when I tried to   access    mysites  URL  it  showing the   Authentication 
Dialogue  ,  I entered    username  : test 




password  : test   ,   but  its not loging in ..)



I recreated the   password  many times  with  other user  names and passwords   
 .. but still I can't login  ..





what may be the issue ?  how can I fix the issue ?








This is the setup ....



[r...@sun /usr/local/www/testblock]# ls -al

total 6

drwxr-xr-x   2 www   www    512 Mar  5 19:13 .

drwxr-xr-x  11 root  wheel  512 Mar  5 16:10 ..

-rw-r-xr-x   1 www   www     19 Mar  6 09:52 .htpasswd


[r...@sun /usr/local/www/testblock]# cat .htpasswd 

test:Nkw3seTaTE16I

[r...@sun /usr/local/www/testblock]# 





<VirtualHost *:80>

ServerName   mysite.com



<Location />


AuthType Basic

AuthName "Auth"

AuthUserFile "/usr/local/www/testblock/.
htpasswd"
Require valid-user
RewriteEngine On
RewriteRule ^/(.*) 
http://127.0.0.1:8081/VirtualHostBase/http/mysite.com:80/site1/VirtualHostRoot/$1
 [L,P]

</Location>
ErrorLog /var/log/apache/site1/error_log
CustomLog /var/log/apache/site2/access.log combined
</VirtualHost>

Any hints most welcome

Thanks in advance 
KK
_________________________________________________________________
Windows Live Messenger. Multitasking at its finest.
http://www.microsoft.com/india/windows/windowslive/messenger.aspx_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to