From fa1480a3e11f4c99adef84d4f571bc36208001e4 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Thu, 13 Mar 2003 21:38:00 +0000 Subject: Include example information for the new "file" directives (ErrorFile, DefaultErrorFile, StatFile.) [Steven Young] --- doc/tinyproxy.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'doc') diff --git a/doc/tinyproxy.conf b/doc/tinyproxy.conf index 982c723..651c221 100644 --- a/doc/tinyproxy.conf +++ b/doc/tinyproxy.conf @@ -32,6 +32,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. -- cgit v1.2.3