Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 69664 invoked by uid 500); 29 Jul 2003 22:39:59 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 69651 invoked from network); 29 Jul 2003 22:39:59 -0000 Received: from claven.ds.adp.com (HELO ernie.ds.adp.com) (12.15.16.200) by daedalus.apache.org with SMTP; 29 Jul 2003 22:39:59 -0000 Received: from flanders.hoffman.ds.adp.com (flanders.hoffman.ds.adp.com [139.126.12.154]) by ernie.ds.adp.com (8.12.9/8.12.9) with ESMTP id h6TMe64a014660 for ; Tue, 29 Jul 2003 17:40:06 -0500 (CDT) Received: from truck.ds.adp.com (postoffice.truck.ds.adp.com [139.126.90.2]) by flanders.hoffman.ds.adp.com (8.11.7+Sun/8.11.6) with ESMTP id h6TMe5e19755 for ; Tue, 29 Jul 2003 17:40:05 -0500 (CDT) Received: from jasonmichael2 (dhcp153.truck.ds.adp.com [139.126.90.153]) by truck.ds.adp.com (8.8.8/8.8.8) with SMTP id RAA28086 for ; Tue, 29 Jul 2003 17:40:05 -0500 (CDT) (envelope-from jason@truck.ds.adp.com) Message-ID: <013301c35622$5b46f6c0$995a7e8b@jasonmichael2> From: "Jason Michael" To: "Apache Mailinglist" Date: Tue, 29 Jul 2003 17:40:05 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0130_01C355F8.7262BDF0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Help with mod_auth... ------=_NextPart_000_0130_01C355F8.7262BDF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Guys,=20 I'm running the default Apache from RedHat 9.0. I'm trying to protect = the file /var/www/html/protected. I created an htpasswd file at /var/www/passwd/.htpasswd. I put in a = test user and password. I added the following to my /etc/httpd/conf/httpd.conf file: AuthName "Administration Area: Authorized Users Only!" AuthType Basic AuthUserFile "/var/www/passwd/.htpasswd" Require valid-user I restarted the server with /usr/sbin/apachectl stop and start... When I navigate to a file inside the "protected" directory, I get the = authentication popup, but it won't accept my password. What am I doing = wrong? Jason L Michael Client Technical Analyst Automatic Data Dealer Services 4001 Airport Freeway Suite 400 Bedford, TX 76039 (817) 358-6307 1-800-HV-TRUCK This e-mail contains proprietary information and may be confidential. If = you are not the intended recipient of this e-mail, you are hereby notified = that any dissemination, distribution or copying of this message is strictly prohibited. If you received this message in error, please delete it immediately. ------=_NextPart_000_0130_01C355F8.7262BDF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Guys,
 
I'm running the default Apache from = RedHat=20 9.0.  I'm trying to protect the file = /var/www/html/protected.
 
I created an htpasswd file at=20 /var/www/passwd/.htpasswd.  I put in a test user and = password.
 
I added the following to my=20 /etc/httpd/conf/httpd.conf file:
 

<Directory=20 "/var/www/html/protected">

AuthName "Administration Area: = Authorized Users=20 Only!"

AuthType Basic

AuthUserFile = "/var/www/passwd/.htpasswd"

Require valid-user

</Directory>

 

I restarted the server with /usr/sbin/apachectl = stop  and=20 start...

When I navigate to a file inside the "protected" = directory, I=20 get the authentication popup, but it won't accept my password.  = What am I=20 doing wrong?

Jason L Michael
Client Technical=20 Analyst
Automatic Data
Dealer Services
4001 Airport = Freeway
Suite=20 400
Bedford, TX 76039
(817) = 358-6307
1-800-HV-TRUCK
 
This e-mail contains proprietary = information and=20 may be confidential. If you
are not the intended recipient of this = e-mail,=20 you are hereby notified that
any dissemination, distribution or = copying of=20 this message is strictly
prohibited. If you received this message in = error,=20 please delete it
immediately.
------=_NextPart_000_0130_01C355F8.7262BDF0--