HTTP Anti-Virus Proxy http://havp.hege.li/forum/ |
|
Invalid request http://havp.hege.li/forum/viewtopic.php?f=3&t=82 |
Page 1 of 1 |
Author: | Guest [ 04 May 2006 02:33 ] |
Post subject: | Invalid request |
Hello, I've now switched HAVP and Squid together (Client->Squid->HAVP) but it keeps me getting "Inavlid Request" from HAVP. I was able to track this down, it seems that HAVP is not correctly working as parent: * HAVP needs request in the following from: GET / HTTP/1.0 Host: www.yahoo.com * SQUID needs them in the following form: GET http://www.yahoo.com/ HTTP/1.0 Host: www.yahoo.com However, Squid fails if it does not get http://domain/... and HAVP fails if it does get http://domain/... HAVP is configured within squid this way: cache_peer localhost parent 8080 0 no-query no-digest no-netdb-exchange default Thanks, Matt |
Author: | Guest [ 04 May 2006 02:34 ] |
Post subject: | |
Ups ... did forget something: Any suggestions, except writing a wrapper? Thanks, Matt |
Author: | hege [ 04 May 2006 09:15 ] |
Post subject: | |
Sounds like your HAVP is configured with TRANSPARENT true. If you want transparent, then in this case you only configure Squid to it. Cheers, Henrik |
Author: | Guest [ 04 May 2006 09:30 ] |
Post subject: | |
Thanks Henrik. I just read the Transparent Proxy mini-HOWTO and it was obvious that I should not set TRANSPARENT to true in HAVP. btw, the link of the Transparent Proxy mini-HOWTO in the configuration-file is outdated, so there should be used this one instead: http://www.tldp.org/HOWTO/TransparentProxy.html Bye, Matt |
Page 1 of 1 | All times are UTC + 2 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |