github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

typester / mod_reproxy

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 8
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (1)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Click here to lend your support to: mod_reproxy and make a donation at www.pledgie.com ! Edit Pledgie Setup

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

X-Reproxy-URL header support for lighttpd 1.4.x — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

support config: reproxy.keep-headers 
Daisuke Murase (author)
Thu Dec 17 22:30:50 -0800 2009
commit  4d8469aaf035039572149fac4d00029d8e0390ed
tree    edba4d2ee15b19fb4635aea8f8850fb89f38df53
parent  6d24d60bae2f2d7460030d32e8296bacae7aa43d
mod_reproxy /
name age
history
message
file README.md Loading commit data...
file mod_reproxy.c
README.md

mod_reproxy for lighttpd 1.4.x

This module add X-Reproxy-URL header support to lighttpd 1.4.x.

Installation

Download mod_reproxy.c and copy it into lighttpd src directory.

Edit src/Makefile.am and add this after last module

lib_LTLIBRARIES += mod_reproxy.la
mod_reproxy_la_SOURCES = mod_reproxy.c
mod_reproxy_la_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined
mod_reproxy_la_LIBADD = $(common_libadd)

and build lighttpd by following commands

./autogen.sh
./configure ...
make && make install

Usage

load mod_reproxy

server.modules = (
    "mod_reproxy", ...
)

And insert following line to the scope where you want to use X-Reproxy-URL:

reproxy.enable = "enable"

In this scope, you can use X-Reproxy-URL header in any other module that use subrequest. (ex: mod_cgi, mod_fastcgi, mod_proxy, and etc)

Configuration

All configuration options are boolean. "enable" | "diable"

  • reproxy.enable
    • enable X-Reproxy-URL (default "disable")
  • reproxy.streaming
    • enable response streaming, don't cache whole content data in memory (default: "enable")
  • reproxy.debug
    • enable debug output (default "disable")

FAQ

  • There's no 1.5 support?
    • No. Because lighttpd 1.5 has already same feature known as X-Rewrite-*

LIMITATION

  • No ipv6 support
  • No SSL support
  • No HTTP/1.1 support

LICENSE

BSD. Same as lighttpd

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server