Bug 8009 - Short->Long path name expansion corrupts AuthUserFile directive
Summary: Short->Long path name expansion corrupts AuthUserFile directive
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_auth (show other bugs)
Version: 2.0.35
Hardware: Other All
: P3 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2002-04-12 11:58 UTC by Ron Lane
Modified: 2005-03-20 17:06 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Ron Lane 2002-04-12 11:58:06 UTC
Can Not get Passwords to work, the following is the info in the access file and 
the error is from error log. Does not seem to translate the Password Path 
Apache HTTP 2.0.35-win32-x86 server Running on Win98SE with 1.4 P4 256 megs Mem.
Access file:
AuthType Basic
AuthName "By Invitation Only"
AuthUserFile H:/apache~1/apache2/passwd/password.ht
Require valid-user
Fri Apr 12 06:11:03 2002] [error] [client] (22661)The specified 
path is invalid.  : Could not open password file: H:/Apache 
Group/he2/passwd/password.ht, referer: http://ronlane/index.html
Comment 1 Joshua Slive 2002-04-12 14:59:18 UTC
It looks like you may have some stray characters in your .htaccess file.  Please
make sure that your AuthUserFile line does not have any characters or white space
after the filename.
Comment 2 Gus Heck 2002-04-18 23:38:37 UTC
Well I don't know if whitespace is the problem for this guy, but why the heck 
wouldn't apache want to strip whitespace from the end of a filename read from 
the access file? I can't think of a single iota of value that this "feature" 
adds. It certainly creates confusing behavior if this is the problem.
Comment 3 William A. Rowe Jr. 2002-04-22 16:40:01 UTC
Patched this morning; this fix will be included in the next release of Apache 
2.0.36.  Thanks for the report and the clues from you detailed log quotes!