httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36399] New: - .htaccess can't parse to long file names after each other
Date Sun, 28 Aug 2005 06:34:31 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36399>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36399

           Summary: .htaccess can't parse to long file names after each
                    other
           Product: Apache httpd-2.0
           Version: 2.1-HEAD
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: eliezer.ramm@kayote.com


on win32 Apache installs to c:\program files\apache group\apache2\

so if you put your .htpasswd file in conf and then put the line 
 "AuthUserFile c:/program files/apache group/apache2/conf" in your .htaccess file

you will get an error "C:/Program Files/Apache Group/Apache2/htdocs/.htaccess:
AuthUserFile takes 1-2 arguments, text file containing user IDs and passwords"
in error.log

it doesn't help to put quotes around the path or parts of the path. i put
htpasswd in several directories and it worked as far a C:/Program Files/ after
that apache doesn't like long file names w/ spaces.

Solution - put your htpasswd file in a dir that contains no spaces in its name
i.e. c:\apache.

Apache should remember its unix roots and install itself to c:\apache\ and not
rely on windows long file names. who knows if the windows OS really knows how to
deal w/ it ? notice windows installs itself in c:\windows c:\winnt and does not
relay on long file names and names w/ spaces in it.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message