summaryrefslogtreecommitdiff
path: root/doc/HTML_VARIABLES
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-03-13 21:35:58 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-03-13 21:35:58 +0000
commit78c1ed384a798be38a82ab739433784af1c74fb3 (patch)
treed5ff725d46cda1bf5730bfd952765daeb60f1dbe /doc/HTML_VARIABLES
parenta46bfdc2e07442a49c4955abdd28fc458a2cece5 (diff)
downloadtinyproxy-78c1ed384a798be38a82ab739433784af1c74fb3.tar.gz
tinyproxy-78c1ed384a798be38a82ab739433784af1c74fb3.zip
# Added default HTML files for HTTP error messages and the stats
page. [Steven Young]
Diffstat (limited to 'doc/HTML_VARIABLES')
-rw-r--r--doc/HTML_VARIABLES15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/HTML_VARIABLES b/doc/HTML_VARIABLES
new file mode 100644
index 0000000..2bdf3ad
--- /dev/null
+++ b/doc/HTML_VARIABLES
@@ -0,0 +1,15 @@
+There are several standard HTML variables that are available in every .html
+file:
+
+ request - The full HTTP request line.
+ cause - The abbreviated cause of the error condition.
+ clientip - The IP address of the client making the request.
+ clienthost - The hostname of the client making the request.
+ version - The version of tinyproxy.
+ package - Presently, resolves to 'tinyproxy'.
+ date - The current date/time in HTTP format.
+
+In addition, almost all pages support:
+
+ detail - A detailed, plain English explanation of the error and possible
+ causes. You might consider this the Microsoftian error message.