->>> HTTP_ACCEPT_LANGUAGE=en-ie, en
->>> PATH=/usr/local/bin:/usr/ucb:/bin:/usr/bin
->>> SCRIPT_NAME=/cgi-bin/printenv.sh
->>> HTTP_USER_AGENT=Mozilla/5.0 (X11; U; Linux i686; en-ie) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Ubuntu/10.10 () Epiphany/2.30.2
->>> PWD=/home/http1/www/cgi-bin
->>> REQUEST_METHOD=GET
->>> SERVER_SOFTWARE=thttpd
->>> SERVER_NAME=zippy0
->>> SERVER_PROTOCOL=HTTP/1.1
->>> HTTP_ACCEPT_ENCODING=gzip
->>> GATEWAY_INTERFACE=CGI/1.1
->>> CGI_PATTERN=cgi-bin/*
->>> HTTP_COOKIE=ikiwiki_session_c%5E2%3Fsupport%3Dtrue=bdf13df0460966a607ba497967ea5ff4
->>> REMOTE_ADDR=10.0.0.1
->>> HTTP_ACCEPT=application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
+[ ... ]
+
+---
+
+>>>>> This is interesting. If HTTP_HOST is wrong then
+
+>>>>> 0. the client header must be wrong (i.e. not including the PORT)
+>>>>> 0. `perl`'s doing something bad[tm] (or at least lazy)
+>>>>> 0. `apache` is adding it
+>>>>> 0. `thttpd` is stripping it
+
+>>>>> Quick hack shows that `thttpd` must be stripping the port
+number from the `Host:` header. That can be fixed.
+
+>>>>> Thanks for the assist. -- fergus
+
+---