summaryrefslogtreecommitdiffhomepage
path: root/doc/tinyproxy.conf
AgeCommit message (Collapse)Author
2004-04-27Added the "BindSame" configure directive from Oswald Buddenhagen.Robert James Kaes
This allows tinyproxy to respond to a request bound to the same interface that the request came in on. As Oswald explains: "attached is a patch that adds the BindSame option. it causes binding an outgoing connection to the ip address of the respective incoming connection. that way one can simulate an entire proxy farm with a single instance of tinyproxy on a multi-homed machine." Cool.
2004-01-26Added reverse proxy support from Kim Holviala. His comments regardingRobert James Kaes
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 Kaes
understandability of the documentation.
2003-08-05Added the cookie header to the documented list of headers to allowRobert James Kaes
through.
2003-06-23# Added a bit more description to describe where to look for the errorRobert James Kaes
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 Kaes
"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 Kaes
support for more selective proxying.
2003-05-29Improved the upstream proxy support by making the upstream proxyRobert James Kaes
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 Kaes
DefaultErrorFile, StatFile.) [Steven Young]
2003-02-21# Fixed up some formatting to make sure the line is less than 80Robert James Kaes
characters long
2003-01-27Added support for conditionally using case sensitive filtering files.Robert James Kaes
Code changes from James E. Flemer.
2002-11-26Included code to disable the sending of the Via header. This is nowRobert James Kaes
controlled by the ViaHeader configure directive.
2002-11-05Removed the example for the Tunnel directive since it's been removed.Robert James Kaes
2002-06-07Added the "FilterDefaultDeny" directive to allow the user to select whether ↵Robert James Kaes
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 Kaes
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 Kaes
2002-05-23Added the "DNSserverLocation" and "DNSserverSocket" directivesRobert James Kaes
(including their comments.) These directives are _required_ by the dnsserver DNS resolver.
2002-04-22Added the "Bind" directive.Robert James Kaes
2002-04-12Added the description and intial settings for the ConnectPort directive.Robert James Kaes
2001-09-16Added the example for the upstream proxy directive.Robert James Kaes
2001-08-31Headers MUST have quotes around them.Robert James Kaes
2001-08-27Stop CVS from giving me an error.Robert James Kaes
2001-08-26Added the Connect log level to the comments for LogLevel.Robert James Kaes
2001-06-02Improved the clarity of the LogLevel directive (in the comments.)Robert James Kaes
2001-06-02Include the LogLevel switch and comments to describe the settings.Robert James Kaes
2000-09-12Example tinyproxy configuration file.Robert James Kaes