From owner-freebsd-questions@FreeBSD.ORG Fri Mar 6 05:45:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81B51106566B for ; Fri, 6 Mar 2009 05:45:43 +0000 (UTC) (envelope-from dhaneshkk@hotmail.com) Received: from col0-omc4-s16.col0.hotmail.com (col0-omc4-s16.col0.hotmail.com [65.55.34.218]) by mx1.freebsd.org (Postfix) with ESMTP id 6208F8FC08 for ; Fri, 6 Mar 2009 05:45:43 +0000 (UTC) (envelope-from dhaneshkk@hotmail.com) Received: from COL106-W75 ([65.55.34.200]) by col0-omc4-s16.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 5 Mar 2009 21:45:43 -0800 Message-ID: X-Originating-IP: [203.129.255.180] From: dhaneshk k To: Date: Fri, 6 Mar 2009 05:45:42 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 06 Mar 2009 05:45:43.0469 (UTC) FILETIME=[CA296DD0:01C99E1E] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Any BSDians hands on with apache-2.2 webserver, X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 05:45:43 -0000 .htpasswd Failure .. htpasswd recreation also not working=20 I added a for restricting access to my web site URL = . I used Basic Authentication module.. I created #htpasswd -c .htpasswd test=20 password : test =20 =20 =20 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 Authenticat= ion Dialogue =2C I entered username : test=20 password : test =2C but its not loging in ..) I recreated the password many times with other user names and passwor= ds .. but still I can't login .. what may be the issue ? how can I fix the issue ? This is the setup .... [root@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 [root@sun /usr/local/www/testblock]# cat .htpasswd=20 test:Nkw3seTaTE16I [root@sun /usr/local/www/testblock]#=20 ServerName mysite.com 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=2CP] ErrorLog /var/log/apache/site1/error_log CustomLog /var/log/apache/site2/access.log combined Any hints most welcome Thanks in advance=20 KK _________________________________________________________________ Windows Live Messenger. Multitasking at its finest. http://www.microsoft.com/india/windows/windowslive/messenger.aspx=