From: Jon F. <jo...@jo...> - 2002-08-30 17:53:01
|
Hi, I wrote the offending script on the Privoxy web server. The idea was to catch people typing http://www.privoxy.com or http://ijbswa.sourceforge.net and redirect them to http://www.privoxy.org. I've just changed it, please can you see if this fixes it? (For the benefit of the mailing list archives, the script is ".htaccess" in the root of the web server tree). Kind regards, Jon Bob Mathews wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >I've been struggling along for a long time with the venerable Internet >Junkbuster, but I finally switched to Privoxy. Imagine my surprise when I >found that I could no longer access the www.privoxy.org site! Instead, I get >a message from my browser saying "Found a cyclic link." I did some digging >around, and found that it was caused by an interaction between three pieces >of software, but I can't really say that any one of them is at fault. Anyway, >for your consideration, here is what I discovered. > >I'm using Konqueror 2.2.2 and Privoxy 3.0.0-stable, BTW. > >With no proxy, Konqueror sends this request: > > GET / HTTP/1.1 > Host: www.privoxy.org > >(Other headers deleted for brevity.) Everything works fine. > >With a proxy configured, Konqueror sends this request to the proxy: > > GET http://www.privoxy.org:80/ HTTP/1.1 > Host: www.privoxy.org > >This seems kind of irregular, since the Host header doesn't exactly match the >GET url. But with Internet Junkbuster, everything worked fine. However, >Privoxy rewrites the Host header and sends this request to the web site: > > GET / HTTP/1.1 > Host: www.privoxy.org:80 > >The web server, probably thinking I typed www.privoxy.org:80 in the location >bar, responds with a redirect to http://www.privoxy.org/, thus causing a >loop. There are probably lots of servers that do the same thing; I expect it >has something to do with the way Apache handles virtual servers. > >Now, the web server is being kind of rude, since it won't accept a perfectly >valid Host header. It responds with a URL that ought to work, though. > >Konqueror is being kind of rude, since it unnecessarily mucks with the URL >that it's given. But it replaces it with one that (one would think) is >equivalent. > >Privoxy is being kind of rude, since it replaces a working Host header with a >non-working one. But its header looks to be the right one to go with the >request, so how can you blame it? > >I don't know what the solution is, or even whose problem this is. Maybe one >of you has an idea. Maybe I should just upgrade my Konqueror and hope the >problem goes away (there's that SSL hole, anyway...) > >Struggling along, > -bob > >-----BEGIN PGP SIGNATURE----- > >iD8DBQE9bYwuPgDecCrBEpcRAgBAAKCYD97J8mdfd2GjmWalVzgnYuLD1wCggcJM >fUDa6PkigF7NRiOuxsDcyuY= >=rFXA >-----END PGP SIGNATURE----- > > >------------------------------------------------------- >This sf.net email is sponsored by: Jabber - The world's fastest growing >real-time communications platform! Don't just IM. Build it in! >http://www.jabber.com/osdn/xim >_______________________________________________ >Ijbswa-users mailing list >Ijb...@li... >https://lists.sourceforge.net/lists/listinfo/ijbswa-users > > > |