summaryrefslogtreecommitdiff
path: root/doc/tinyproxy.conf (follow)
AgeCommit message (Collapse)AuthorFilesLines
2004-01-26Added reverse proxy support from Kim Holviala. His comments regardingRobert James Kaes1-0/+39
this addition follow: The patch implements a simple reverse proxy (with one funky extra feature). It has all the regular features: mapping remote servers to local namespace (ReversePath), disabling forward proxying (ReverseOnly) and HTTP redirect rewriting (ReverseBaseURL). The funky feature is this: You map Google to /google/ and the Google front page opens up fine. Type in stuff and click "Google Search" and you'll get an error from tinyproxy. Reason for this is that Google's form submits to "/search" which unfortunately bypasses our /google/ mapping (if they'd submit to "search" without the slash it would have worked ok). Turn on ReverseMagic and it starts working.... ReverseMagic "hijacks" one cookie which it sends to the client browser. This cookie contains the current reverse proxy path mapping (in the above case /google/) so that even if the site uses absolute links the reverse proxy still knows where to map the request. And yes, it works. No, I've never seen this done before - I couldn't find _any_ working OSS reverse proxies, and the commercial ones I've seen try to parse the page and fix all links (in the above case changing "/search" to "/google/search"). The problem with modifying the html is that it might not be parsable (very common) or it might be encoded so that the proxy can't read it (mod_gzip or likes). Hope you like that patch. One caveat - I haven't coded with C in like three years so my code might be a bit messy.... There shouldn't be any security problems thou, but you never know. I did all the stuff out of my memory without reading any RFC's, but I tested everything with Moz, Konq, IE6, Links and Lynx and they all worked fine.
2003-08-07Incorporated patches from Marc Silver to improve the readability andRobert James Kaes1-61/+86
understandability of the documentation.
2003-08-05Added the cookie header to the documented list of headers to allowRobert James Kaes1-0/+4
through.
2003-06-23# Added a bit more description to describe where to look for the errorRobert James Kaes1-1/+5
HTML files. In the future the installation script should modify the tinyproxy.conf file.
2003-06-20Removed the "ViaHeader" directive and replaced it with theRobert James Kaes1-4/+5
"ViaProxyName" directive. The "Via" HTTP header is _required_ by the HTTP spec, so the code has been changed to always send the header. However, including the proxy's host name could be considered a security threat, so the "ViaProxyName" directive is used to set the token sent in the "Via" header. If the directive is not enabled the proxy's host name will be used.
2003-06-02Included additional examples of how to configure the upstream proxyRobert James Kaes1-10/+15
support for more selective proxying.
2003-05-29Improved the upstream proxy support by making the upstream proxyRobert James Kaes1-0/+26
server configurable based on the destination host. [Code written by Peter da Silva]
2003-03-13Include example information for the new "file" directives (ErrorFile,Robert James Kaes1-0/+24
DefaultErrorFile, StatFile.) [Steven Young]
2003-02-21# Fixed up some formatting to make sure the line is less than 80Robert James Kaes1-2/+2
characters long
2003-01-27Added support for conditionally using case sensitive filtering files.Robert James Kaes1-0/+5
Code changes from James E. Flemer.
2002-11-26Included code to disable the sending of the Via header. This is nowRobert James Kaes1-0/+7
controlled by the ViaHeader configure directive.
2002-11-05Removed the example for the Tunnel directive since it's been removed.Robert James Kaes1-8/+0
2002-06-07Added the "FilterDefaultDeny" directive to allow the user to select whether ↵Robert James Kaes1-0/+10
the default policy of the filter is to allow everything which isn't denied, or to deny everything which isn't allowed.
2002-05-27Added support for the "FilterURLs" and "FilterExtended" directives.Robert James Kaes1-0/+10
These directives were submitted by James Flemer for use with the new filtering code.
2002-05-26Removed the "DNSserver" directives since they're no longer needed.Robert James Kaes1-12/+0
2002-05-23Added the "DNSserverLocation" and "DNSserverSocket" directivesRobert James Kaes1-0/+12
(including their comments.) These directives are _required_ by the dnsserver DNS resolver.
2002-04-22Added the "Bind" directive.Robert James Kaes1-1/+7
2002-04-12Added the description and intial settings for the ConnectPort directive.Robert James Kaes1-0/+11
2001-09-16Added the example for the upstream proxy directive.Robert James Kaes1-1/+8
2001-08-31Headers MUST have quotes around them.Robert James Kaes1-2/+3
2001-08-27Stop CVS from giving me an error.Robert James Kaes1-1/+1
2001-08-26Added the Connect log level to the comments for LogLevel.Robert James Kaes1-0/+1
2001-06-02Improved the clarity of the LogLevel directive (in the comments.)Robert James Kaes1-2/+6
2001-06-02Include the LogLevel switch and comments to describe the settings.Robert James Kaes1-0/+9
2000-09-12Example tinyproxy configuration file.Robert James Kaes1-0/+105