[Filterproxy-devel] Re: FilterProxy
Brought to you by:
mcelrath
From: Bob M. <mce...@dr...> - 2002-03-04 14:57:10
|
Tomasz Rzad [to...@rz...] wrote: > On Fri, Feb 15, 2002 at 11:11:13AM -0600, Bob McElrath wrote: > > Tomasz Rzad [to...@rz...] wrote: > > > Bob, > > >=20 > > > Is there any way to use FilterProxy in Transparent Proxy Mode? I alwa= ys get > > > "400 URL must be absolute". > >=20 > > I think I have reports that people have set it up this way before. If = you're > > getting that error, FilterProxy thinks it's in server-mode. Are you re= questing > > a URL from filterproxy itself? (i.e. http://host.here:8888/FilterProxy= .html) > > Does it work if you just request some other URL? (not a FilterProxy se= rved > > config page) > >=20 > > Can you tell me how it is set up so far? This would be useful info to = add to > > the README file. >=20 > Do you have any idea how to run service I wrote you before? >=20 > Let me explain it to you again: >=20 > I would like to redirect all request to FilterProxy by doing "ipchains ..= . -j REDIRECT 8888" on my Linux box. > Every time I do that I receive "URL must be absolute" (in my opinion this= comes from UserAgent.pm). > Can you help me at thie matter? I don't know how to do this. But I think I might know why it doesn't work. Your browser thinks it is going to site www.abcd.com and sends a request li= ke this: GET /index.html your ipchains redirects this to FilterProxy, which sees the non-absolute URL /index.html. FilterProxy can't figure out what site you were trying to get because there isn't enough information in the request. Can you turn on "dump headers to log file" on the Header config page, and enable debug on the main page, and send me some of your logs? Cheers, -- Bob Bob McElrath (rsm...@st...)=20 Univ. of Wisconsin at Madison, Department of Physics |