www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian I.Kamil <jul...@us.net>
Subject mod_negotiation/4949: Content negotiation failed with filenames containing uppercase characters.
Date Wed, 01 Sep 1999 20:06:03 GMT

>Number:         4949
>Category:       mod_negotiation
>Synopsis:       Content negotiation failed with filenames containing uppercase characters.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Sep  1 13:10:00 PDT 1999
>Originator:     julian@us.net
>Release:        1.3.4, 1.3.6
Windows NT Server/Workstation 4.0 with SP4 and SP5
Under NT, content negotiation failed to find a match for files whose names contain uppercase
To repeat this problem, set MultiViews on for a directory, such as:

<Directory "c:/Apache/htdocs/">
Options MultiViews

Add or uncomment language extensions specifications:

DefaultLanguage en
AddLanguage en .en
AddLanguage fr .fr
LanguagePriority en fr

And then create the following files:


Restart the server.  Set up your browser to prefer French over English (methods vary by manufacturer/model).
 And then point to:

http://<host>:<port>/foobar             [returns: foobar.html.fr correctly]
http://<host>:<port>/FOOFOO             [returns: ERROR 404]
http://<host>:<port>/foobar.html        [returns: foobar.html.fr correctly]
http://<host>:<port>/FOOFOO.html        [returns: ERROR 404]
The log file error.log reports the following: 

File does not exist: c:/apache/htdocs/foofoo

which leads me to believe that the requested filename has been converted to all lowercase
characters, which is possibly the cause of the mismatch.  However, access.log reports:

"GET /FOOFOO HTTP/1.1" 404 287

with the right case (uppercase).
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message