Project

General

Profile

Actions

Feature #1611

closed

mod_rewrite should save original URL in header

Added by stepancheg over 16 years ago. Updated over 8 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_rewrite
Target version:
ASK QUESTIONS IN Forums:

Description

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

Actions #1

Updated by gstrauss over 8 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.

Actions

Also available in: Atom