Bug#333908: mod_rewrite does not rewrite REQUEST_URI
Package: apache2
Version: 2.0.54-5
Severity: normal
Simple example:
RewriteEngine on
RewriteBase /cgi-bin
RewriteRule ^ - [E=REQUEST_URIX:somestring]
RewriteRule ^ - [E=REQUEST_URI:/real/location]
REQUEST_URIX ends up in the CGI environment, while REQUEST_URI is _not_
replaced. It shows the original content and not the custom one.
Following http://groups.yahoo.com/group/new-httpd/message/55939 that
should work but it just doest't.
Eduard.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages apache2 depends on:
ii apache2-mpm-prefork 2.0.54-5 traditional model for Apache2
apache2 recommends no packages.
-- no debconf information
Reply to: