I used this command to create mt .htpasswd file\
htpasswd -c .htpasswd blcox
this is my entry in the httpd.conf file
<Directory "/var/www/html"> Options Indexes Includes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory>
and this is my .htaccess file
AuthType Basic AuthName "Secure area" AuthUserFile /home/blcox/.htpasswd require valid-user
can someone please tell me what Iam doing wrong.
Thanks Brent
On Sat, 31 May 2003 16:20:59 -0400 Jason Staudenmayer <[EMAIL PROTECTED]> wrote:
Here's the httpd.conf <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory "/var/www/html"> Options Indexes Includes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory>
.htaccess AuthType Basic AuthName "Secure area" AuthUserFile /somewhere/save/.htpasswd require valid-user
To use .htaccess you must allowoverride auth and something else can't quite
remember.
But this is my setup.
-----Original Message-----
From: Brent L. Cox [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 3:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Web Auth.
I do have a .htpasswd and .htaccess files do you have any examples of them.
thanks,
On Sat, 31 May 2003 15:45:00 -0400 Jason Staudenmayer <[EMAIL PROTECTED]> wrote:That's not going to ask for a usrname and passwd.
You'll a need .htaccess file in that dir with the right info.
And a .htpasswd file with user names and passwd's.
AuthType Basic AuthName "Secure area" AuthUserFile /.htpasswd require valid-user
-----Original Message-----
From: Brent L. Cox [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 3:39 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Web Auth.
yeah I did stop and start the server.
this is the entry that I have put in my httpd.conf
<Directory "/var/www/html/php:>
AllowOverride None
Deny from from all
Order allow,deny
</Directory>
would this be correct?
On 31 May 2003 22:26:16 +0300 Peter Peltonen <[EMAIL PROTECTED]> wrote:On Sat, 2003-05-31 at 22:10, Brent L. Cox wrote:ok I have edited the httpd.conf file but I do not get a prompt for User ID and Password. Can someone give me an Example what the entry is suposed to look like in the httpd.conf.
Did you remember to restart Apache after making changes to httpd.conf?
Regards, Peter
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list
<TEXTAREA NAME="Signature" ROWS="4" COLS="60"><TEXTAREA NAME="Signature" ROWS="4" COLS="60">
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list
<TEXTAREA NAME="Signature" ROWS="4" COLS="60"><TEXTAREA NAME="Signature" ROWS="4" COLS="60">
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list
<TEXTAREA NAME="Signature" ROWS="4" COLS="60"><TEXTAREA NAME="Signature" ROWS="4" COLS="60">
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list