httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Greenlees" <ja...@shaw.ca>
Subject Re: [users@httpd] Apache Crashing? User Auth Bug?
Date Tue, 05 Nov 2002 17:26:54 GMT
Frank,
I agree with the consistency, but with the htaccess and htpassword 
apache needs the period. it is the way it's setup.

Frank Tanner III wrote:
> I have user authentication in 1.3.20 with no problem. 
> And I don't have any period before my file name.  But
> then my file name doesn't begin with a period.
> 
> I used passwd for my pasword file name and group for
> my group file name.  Just like *nix uses for it's
> names, but in a different location.  Made more sense
> to do it this way from a "readibility" and consistency
> standpoint.
> 
> --- Sander Holthaus - Orange XL <info@orangexl.com>
> wrote:
> 
>>I cannont be sure here, but is this an actual copy
>>out of your
>>.htaccess-file??? If it is, then I can see some
>>problems:
>>
>>Authname "Protected Stats Access" --> AuthName
>>"Protected Stats Access" (Be
>>case-senstive)
>>AuthPAM_Enabled off  --> ? What is this doing here ?
>>Authtype Basic --> AuthType Basic (Be case-senstive)
>>require valid-user --> AuthUserFile
>>/path/to/.htpasswd (NOTICE the dot
>>before htpasswd)
>>AuthUserFile /path/to/htpasswd --> Require
>>valid-user (Be case-senstive)
>>
>>The biggest problem that I see is that you haven't
>>got the dot before
>>htpasswd. Also, it could be a 1.3.20-issue, but I
>>cannot confirm that. Try
>>upgrading to 1.3.27
>>
>>Also see:
>>http://httpd.apache.org/docs/howto/auth.html#basic
>>
>>Kind regards,
>>Sander Holthaus
>>
>>----- Original Message -----
>>From: "Jerry Bonner" <Jerry.Bonner@cpinternet.com>
>>To: <users@httpd.apache.org>
>>Sent: Tuesday, November 05, 2002 3:46 PM
>>Subject: [users@httpd] Apache Crashing? User Auth
>>Bug?
>>
>>
>>
>>>Lo All,
>>>
>>>Im experiencing a completely weird error with
>>
>>apache 1.3.20 under a Cobalt
>>
>>>server (redhat 6.2 derivative)
>>>
>>>The problem is occurring when I try to add user
>>
>>authentication to a
>>
>>>directory, either through httpd.conf or through a
>>
>>.htaccess with the
>>
>>>following :
>>>
>>>DirectoryIndex awstats.pl
>>>Authname "Protected Stats Access"
>>>AuthPAM_Enabled off
>>>Authtype Basic
>>>require valid-user
>>>AuthUserFile /path/to/htpasswd
>>>
>>>When I try to access the directory through lynx,
>>
>>it reports "Unexpected
>>
>>>network error, connection aborted". The are no
>>
>>errors reported in the
>>httpd
>>
>>>error log or through the syslog when this happens.
>>>
>>>Now if I comment out the "require valid-user"
>>
>>directive, I won't get that
>>
>>>error, although authentication will not work
>>
>>either.
>>
>>>Now the crazy thing is that on the very same box,
>>
>>running under the same
>>
>>>daemon, I have this very same configuration
>>
>>working on another set of
>>
>>>directories and everything works fine.
>>>
>>>Does anyone have any clue on whats going on, is
>>
>>there anyway I can get
>>more
>>
>>>information on whats going on from apache?
>>>
>>>thanks,
>>>
>>>-jerryb
>>>
>>>
>>
> ---------------------------------------------------------------------
> 
>>>The official User-To-User support forum of the
>>
>>Apache HTTP Server Project.
>>
>>>See <URL:http://httpd.apache.org/userslist.html>
>>
>>for more info.
>>
>>>To unsubscribe, e-mail:
>>
>>users-unsubscribe@httpd.apache.org
>>
>>>   "   from the digest:
>>
>>users-digest-unsubscribe@httpd.apache.org
>>
>>>For additional commands, e-mail:
>>
>>users-help@httpd.apache.org
>>
>>>
>>
>>
> ---------------------------------------------------------------------
> 
>>The official User-To-User support forum of the
>>Apache HTTP Server Project.
>>See <URL:http://httpd.apache.org/userslist.html> for
>>more info.
>>To unsubscribe, e-mail:
>>users-unsubscribe@httpd.apache.org
>>   "   from the digest:
>>users-digest-unsubscribe@httpd.apache.org
>>For additional commands, e-mail:
>>users-help@httpd.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message