From 86b9d4eaf56f5e694626b5bfc0d027e69a0e6953 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Johannes=20Wei=C3=9Fl?= {alias, {"/image", "/ftp/pub/image"}
+ {alias, {"/image", "/ftp/pub/image"}}
and an access to http://your.server.org/image/foo.gif would refer to
the file /ftp/pub/image/foo.gif.
{re_write, {"^/[~]([^/]+)(.*)$", "/home/\\1/public\\2"}
+ {re_write, {"^/[~]([^/]+)(.*)$", "/home/\\1/public\\2"}}
and an access to http://your.server.org/~bob/foo.gif would refer to
the file /home/bob/public/foo.gif.
@@ -468,7 +468,7 @@ bytes
scripts. URLs with a path beginning with url-path are mapped to
scripts beginning with directory-filename, for example:
- {script_alias, {"/cgi-bin/", "/web/cgi-bin/"}
+ {script_alias, {"/cgi-bin/", "/web/cgi-bin/"}}
and an access to http://your.server.org/cgi-bin/foo would cause
the server to run the script /web/cgi-bin/foo.
@@ -483,7 +483,7 @@ bytes
scripts. URLs with a path beginning with url-path are mapped to
scripts beginning with directory-filename, for example:
- {script_re_write, {"^/cgi-bin/(\\d+)/", "/web/\\1/cgi-bin/"}
+ {script_re_write, {"^/cgi-bin/(\\d+)/", "/web/\\1/cgi-bin/"}}
and an access to http://your.server.org/cgi-bin/17/foo would cause
the server to run the script /web/17/cgi-bin/foo.
@@ -517,7 +517,7 @@ bytes
the standard CGI PATH_INFO and PATH_TRANSLATED environment
variables.
- {action, {"text/plain", "/cgi-bin/log_and_deliver_text"}
+ {action, {"text/plain", "/cgi-bin/log_and_deliver_text"}}
@@ -532,7 +532,7 @@ bytes
the standard CGI PATH_INFO and PATH_TRANSLATED environment
variables.
- {script, {"PUT", "/cgi-bin/put"}
+ {script, {"PUT", "/cgi-bin/put"}}
@@ -549,7 +549,7 @@ bytes
scheme scripts. A matching URL is mapped into a specific module
and function. For example:
- {erl_script_alias, {"/cgi-bin/example", [httpd_example]}
+ {erl_script_alias, {"/cgi-bin/example", [httpd_example]}}
and a request to
@@ -706,7 +706,7 @@ bytes
For example:
- {allow_from, ["123.34.56.11", "150.100.23"]
+ {allow_from, ["123.34.56.11", "150.100.23"]}
The host 123.34.56.11 and all machines on the 150.100.23
subnet are allowed access.
@@ -719,7 +719,7 @@ bytes
which should be denied access to a given directory.
For example:
- {deny_from, ["123.34.56.11", "150.100.23"]
+ {deny_from, ["123.34.56.11", "150.100.23"]}
The host 123.34.56.11 and all machines on the 150.100.23
subnet are not allowed access.
@@ -835,7 +835,7 @@ bytes
Security properties - requires mod_security
- {security_directory, {path(), [{property(), term()}]}
+ {security_directory, {path(), [{property(), term()}]}}
Here follows the valid properties for security directories
@@ -1067,7 +1067,7 @@ bytes
Called for each request to the Web server.
OldData = list()
- NewData = [{response,{StatusCode,Body}}] | [{response,{response,Head,Body}}] | [{response,{already_sent,Statuscode,Size}]
+ NewData = [{response,{StatusCode,Body}}] | [{response,{response,Head,Body}}] | [{response,{already_sent,Statuscode,Size}}]
StausCode = integer()
Body = io_list() | nobody | {Fun, Arg}
Head = [HeaderOption]
--
cgit v1.2.3