summaryrefslogtreecommitdiff
path: root/doc/proxy.txt
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-02-20 14:27:00 +0000
committerJan Kneschke <jan@kneschke.de>2005-02-20 14:27:00 +0000
commitbcdc6a3bbcde8e66da41aa2311642e53f4fc7c9b (patch)
treea0536d23ba17a40c236fc3cd2a4a133110ae7501 /doc/proxy.txt
downloadlighttpd-git-bcdc6a3bbcde8e66da41aa2311642e53f4fc7c9b.tar.gz
moved everything below trunk/ and added branches/ and tags/
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'doc/proxy.txt')
-rw-r--r--doc/proxy.txt72
1 files changed, 72 insertions, 0 deletions
diff --git a/doc/proxy.txt b/doc/proxy.txt
new file mode 100644
index 00000000..6621cf97
--- /dev/null
+++ b/doc/proxy.txt
@@ -0,0 +1,72 @@
+===================
+the Proxy Interface
+===================
+
+-----------------
+Module: mod_proxy
+-----------------
+
+:Author: Jan Kneschke
+:Date: $Date: 2004/08/01 07:01:29 $
+:Revision: $Revision: 1.1 $
+
+:abstract:
+ The proxy module a simplest way to connect lighttpd to
+ java servers which have a HTTP-interface.
+
+.. meta::
+ :keywords: lighttpd, Proxy
+
+.. contents:: Table of Contents
+
+Description
+===========
+
+...
+
+Options
+=======
+
+lighttpd provides the Proxy support via the proxy-module
+(mod_proxy) which provides 2 options in the config-file:
+
+:proxy.debug:
+ a value between 0 and 65535 to set the debug-level in the
+ Proxy module. Currently only 0 and 1 are used. Use 1 to
+ enable some debug output, 0 to disable it.
+
+:proxy.server:
+ tell the module where to send Proxy requests to. Every
+ file-extension can have its own handler. Load-Balancing is
+ done by specifying multiple handles for the same extension.
+
+ structure of proxy.server section: ::
+
+ ( <extension> =>
+ ( <handle> =>
+ ( "host" => <string> ,
+ "port" => <integer>
+ )
+ ),
+ ( <handle> => ...
+ )
+ )
+
+ :<extension>: is the file-extension or prefix
+ (if started with "/")
+ :<handle>: is just a unique handle name
+ :"host": is ip of the proxy server
+ :"port": is tcp-port on the "host" used by the proxy
+ server
+
+ e.g.: ::
+
+ proxy.server = ( ".php" =>
+ ( "grisu" =>
+ (
+ "host" => "192.168.0.2",
+ "port" => 1026
+ )
+ )
+ )
+