Project

General

Profile

Actions

Feature #1912

closed

X-Rewrite-Method

Added by leromarinvit about 15 years ago. Updated over 7 years ago.

Status:
Obsolete
Priority:
Normal
Category:
mod_proxy_core
Target version:
ASK QUESTIONS IN Forums:

Description

Hello,

this patch adds a new header X-Rewrite-Method to mod_proxy_core, upon detection of which the method of the redirected request is set and, depending on the new method, the response from the first backend call is used as the request body for the second one.

This way, I can conveniently tunnel POST requests with the accompanying data through a FastCGI backend for authentication.

Currently it supports GET, POST, HEAD, and CONNECT; do any other methods make sense in this context?


Files

lighty-x-rewrite-method.patch (2.9 KB) lighty-x-rewrite-method.patch preliminary patch leromarinvit, 2009-02-23 08:43
Actions #1

Updated by leromarinvit about 15 years ago

it's not a bug, it's a feature :-)

sorry, didn't see the bug/feature choosebox when submitting this; can somebody change it or should i open a new ticket (or doesn't it matter anyway)?

Actions #2

Updated by stbuehler about 15 years ago

  • Tracker changed from Bug to Feature
Actions #3

Updated by gstrauss over 7 years ago

  • Missing in 1.5.x set to Yes
Actions #4

Updated by gstrauss over 7 years ago

  • Status changed from New to Obsolete
Actions

Also available in: Atom