This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README.md | ||
| |
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")
- enable
- 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-*
- No. Because lighttpd 1.5 has already same feature known as
LIMITATION
- No ipv6 support
- No SSL support
- No HTTP/1.1 support
LICENSE
BSD. Same as lighttpd









