Project

General

Profile

Feature #1611

mod_rewrite should save original URL in header

Added by stepancheg over 11 years ago. Updated about 3 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
mod_rewrite
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

Description

mod_rewrite should add request header X-Original-URL after rewriting, so original URL could be accessed by proxied app.

History

#1

Updated by gstrauss about 3 years ago

  • Tracker changed from Bug to Feature
  • Description updated (diff)
  • Status changed from New to Invalid
  • Assignee deleted (jan)

This request is definitely not a "bug"

It can also be construed as a potential security exposure.

If this is what you want to do, you can use mod_magnet and write some lua code to add the REDIRECT_URI variable to the request headers. In lighttpd 1.4.40, REDIRECT_URI is set when mod_write modifies the URL.

Also available in: Atom