summaryrefslogtreecommitdiff
path: root/doc/HTML_VARIABLES
diff options
context:
space:
mode:
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.