Project

General

Profile

Actions

Feature #905

closed

Chain proxy methods (HTTP/HTTPS then FastCGI w/ ROLE=filter)

Added by Anonymous over 17 years ago. Updated about 7 years ago.

Status:
Wontfix
Priority:
Low
Category:
mod_fastcgi
Target version:
-
ASK QUESTIONS IN Forums:

Description

I'm working on a project involving setting up a web server as a proxy such that:
http://host/proxy/http//www.google.com/ --> http://www.google.com
http://host/proxy/https//www.gmail.com/ --> https://www.gmail.com
etc...
That seems to be partly ok (Not sure if the http,https part works..)
One part of this involves throwing the data through a FastCGI filter to perform modifications such as fixing links/etc as well as other custom items depending on page. From my understanding you can't put a FastCGI filter in, so my current implementation would be to fetch the data in my FastCGI handler... but that's suboptimal, I think.

Not quite sure how configuration would look either....

-- Thomas Harning Jr. <harning

Actions #1

Updated by gstrauss almost 8 years ago

  • Description updated (diff)
  • Category changed from core to mod_fastcgi
  • Assignee deleted (jan)
Actions #2

Updated by gstrauss over 7 years ago

  • Priority changed from Normal to Low
Actions #3

Updated by gstrauss about 7 years ago

  • Status changed from New to Wontfix

so my current implementation would be to fetch the data in my FastCGI handler... but that's suboptimal, I think.

Why not? Sounds reasonable.

Similar to what was noted in #1187, lighttpd is (primarily) an origin server, and does not currently provide features of an intermediate caching proxy. Additionally, FastCGI filter role does not appear to be implemented in most/any popular/still-relevant webservers, suggesting that there are viable alternatives, such as using a web server framework for HTTP proxying in your favorite scripting language and performing transformations on the content as desired.

Sorry, implementing FastCGI 'filter' role is not a priority in lighttpd at this time.

Actions

Also available in: Atom