summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-03-13 21:38:00 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-03-13 21:38:00 +0000
commitfa1480a3e11f4c99adef84d4f571bc36208001e4 (patch)
tree9c0f15e4022916367c3cc4afb3c7fa2715fb04aa /doc
parent78c1ed384a798be38a82ab739433784af1c74fb3 (diff)
downloadtinyproxy-fa1480a3e11f4c99adef84d4f571bc36208001e4.tar.gz
tinyproxy-fa1480a3e11f4c99adef84d4f571bc36208001e4.zip
Include example information for the new "file" directives (ErrorFile,
DefaultErrorFile, StatFile.) [Steven Young]
Diffstat (limited to 'doc')
-rw-r--r--doc/tinyproxy.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/tinyproxy.conf b/doc/tinyproxy.conf
index 982c723..651c221 100644
--- a/doc/tinyproxy.conf
+++ b/doc/tinyproxy.conf
@@ -33,6 +33,30 @@ Port 8888
Timeout 600
#
+# ErrorFile: Defines the HTML file to send when a given HTTP error
+# occurs.
+#
+# ErrorFile 404 "/usr/share/tinyproxy/404.html"
+# ErrorFile 400 "/usr/share/tinyproxy/400.html"
+# ErrorFile 503 "/usr/share/tinyproxy/503.html"
+# ErrorFile 403 "/usr/share/tinyproxy/403.html"
+# ErrorFile 408 "/usr/share/tinyproxy/408.html"
+
+#
+# DefaultErrorFile: The HTML file that gets sent if there is no
+# HTML file defined with an ErrorFile keyword for the HTTP error
+# that has occured.
+#
+DefaultErrorFile "/usr/share/tinyproxy/default.html"
+
+#
+# StatFile: The HTML file that gets sent when a request is made
+# for the stathost. If this file doesn't exist a basic page is
+# hardcoded in tinyproxy.
+#
+StatFile "/usr/share/tinyproxy/stats.html"
+
+#
# Where to log the information. Either LogFile or Syslog should be set,
# but not both.
#