[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#649310: Apache serves inexistent URIs when mod_negotiation is loaded



Package: apache2.2-bin
Version: 2.2.16-6+squeeze4

When requesting "http://myserver.org/somefile/foobar";, while exists
script "somefile.php", Apache runs that very script.
While exists file "somefile.html", Apache tries to serve
<document_root>/somefile.html/foobar, not
<document_root>/somefile/foobar.
This situation becomes a problem, when mod_rewrite is used and words
in original request interfere with filenames in document root.
After removing mod_negotioation from Apache configuration this bug desappears.
The problem is found on clean system installed on VirtualBox VM, with
default configuration.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply to: