|
|||||||||||
|
DO NOT REPLY [Bug 15751] New: - Rewriting of language negotiated pages fails
From: <bugzilla(at)apache.org>
Date: Wed Jan 01 2003 - 09:29:20 EST
Rewriting of language negotiated pages fails
Summary: Rewriting of language negotiated pages fails
Product: Apache httpd-2.0
Version: 2.0.43
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: mod_rewrite
AssignedTo: bugs@httpd.apache.org
ReportedBy: adam@os.inf.tu-dresden.de
If a have a directory "a" with two files: "index.html.en" and "index.html.de",
and query /a/index.html, rewriting rules will be applied to /a/index.html rather
than to the file sent out (i.e. /a/index.html.en (in most cases)).
/a/index.html doesn't exist on the filesystem.
The same applies if one queries /a/ only, the DirectoryIndex file is found (i.e.
index.html in this case) and the rewriting rules are applied to index.html
instead of the actual file.
I used a fresh copy of httpd-2.0.43.tar.gz and configured it with --prefix=/var/tmp/apache2 --enable-so --enable-rewrite --enable-modules=all --enable-mods-shared=all,
to the standard configuration I added at the end of the file:
RewriteEngine On
and the option MultiViews to the DocumentRoot directory to see the following in the logs:
==> access_log <==
==> rwlog <==
$ ls -la a
drwxr-xr-x 2 adam users 4096 Jan 1 15:05 . drwxr-xr-x 3 adam users 4096 Jan 1 14:30 .. -rw-r--r-- 1 adam users 8 Jan 1 14:31 index.html.de -rw-r--r-- 1 adam users 8 Jan 1 14:34 index.html.en ---------------------------------------------------------------------To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Wed Jan 01 14:28:06 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:44:17 EDT |
||||||||||
|
|||||||||||