Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2003 22:41:19 -0800
From:      "admin" <admin2@enabled.com>
To:        "Derrick Ryalls" <ryallsd@datasphereweb.com>, "'admin'" <admin2@enabled.com>, <freebsd-questions@freebsd.org>
Subject:   RE: .htpasswd creation
Message-ID:  <20030714063616.M92191@enabled.com>
In-Reply-To: <000201c349cf$c5b02860$0200a8c0@bartxp>
References:  <20030714061012.M96991@enabled.com> <000201c349cf$c5b02860$0200a8c0@bartxp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Jul 2003 23:18:36 -0700, Derrick Ryalls wrote
> > can somebody explain to me how to create a .htpasswd 
> > password? I dont want to use online password generators.
> 
> http://httpd.apache.org/docs-2.0/howto/auth.html



okay thanks,

OS: FreeBSD 4.8
Apache:  1.3.27

but I am having the strangest issue with my .htaccess file

--- snip ---

AuthName "Protected Area Name"
AuthUserFile /usr/local/www/data/phpMyAdmin/.htpasswd
AuthType Basic
Require user noah

--- snip ---

shell# htpasswd -c .htpasswd noah
New password:
Re-type new password:
Adding password for user noah

okay so I have the proper files in place.  

shell# ls -l .ht*
-rw-r--r--  1 root  wheel  121 Jul 13 23:36 .htaccess
-rw-r-----  1 root  wheel   19 Jul 13 23:33 .htpasswd
shell# pwd
/usr/local/www/data/phpMyAdmin

my browser asks for a password but I never get allowed past the password popup.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030714063616.M92191>