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

Bug#333908: marked as done (mod_rewrite does not rewrite REQUEST_URI)

Your message dated Sat, 11 Nov 2006 10:10:11 +0100
with message-id <20061111091011.GA14706@mails.so.argh.org>
and subject line That's by design
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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.


-- 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

--- End Message ---
--- Begin Message ---
* Wesley W. Terpstra (wesley@terpstra.ca) [060406 05:47]:
> Hi. Just wanted to let you know that REQUEST_URI is not supposed to  
> be changed on rewrite.

> The purpose of that variable is to provide a CGI with access to the  
> original request, before redirects.
> If you need the location of the program after redirect, use SCRIPT_NAME.
> If this isn't your program, report the bug to the author.

I'm closing the report as it seems to be a non-bug but rather a design


--- End Message ---

Reply to: