d-i: http problem.
As I mentioned in another thread I planned to do, I've implemented
transparent proxy for the install.
Sadly, it does't work. Here is why:
1089246525.683 19 192.168.9.133 TCP_DENIED/400 1523 GET
/debian//dists/sarge/Release - NONE/- text/html
HTTP/1.0 400 Bad Request
Server: squid/2.5.STABLE5
Mime-Version: 1.0
Date: Thu, 08 Jul 2004 00:28:45 GMT
Content-Type: text/html
Content-Length: 1190
Expires: Thu, 08 Jul 2004 00:28:45 GMT
X-Squid-Error: ERR_INVALID_URL 0
ns:~#
I believe the request should look more like this one:
1089244466.030 5705 192.168.9.114 TCP_MISS/200 6909 GET
http://weather.noaa.gov/cgi-bin/mgetmetar.pl? - DIRECT/205.156.51.200
text/html
Host: weather.noaa.gov
Content-Type: text/xml; charset=utf-8
Connection: keep-alive
User-Agent: Soup/1.99.28
HTTP/1.0 200 OK
Date: Wed, 07 Jul 2004 23:48:42 GMT
Content-Type: text/html; charset=ISO-8859-1
Server: Apache/1.3.27 (Unix) mod_perl/1.27
Via: 1.1 netcache (NetCache NetApp/5.5R4D2)
Take care reading that, broken/wrapped lines.
The host: header is pretty important, it will not work with named
virtual hosts without it. This would prevent me from installing from my
local mirror, even if it had the installer in it.
I'm not sure whether the host name in the URL is essential, but in my
explorations (some years ago, before named virtual hosts were common) it
was harmless.
I think I can work round it by configuring one of my Apaches appropriately.
d-i really should be talking http 1.1: this is 0.9 syntax.
Reply to: