Project

General

Profile

Feature #1912

X-Rewrite-Method

Added by leromarinvit over 10 years ago. Updated about 3 years ago.

Status:
Obsolete
Priority:
Normal
Assignee:
-
Category:
mod_proxy_core
Target version:
Start date:
2009-02-23
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:
Yes

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?

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

History

#1

Updated by leromarinvit over 10 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)?

#2

Updated by stbuehler over 10 years ago

  • Tracker changed from Bug to Feature
#3

Updated by gstrauss about 3 years ago

  • Missing in 1.5.x set to Yes
#4

Updated by gstrauss about 3 years ago

  • Status changed from New to Obsolete

Also available in: Atom