Cory Petkovsek wrote: > I was redirected to publicknowledge.org > Next attempt I was redirected to techp.org > Then back to publicknowledge.org, then fsf.org > > It's not a dns trick, it resolves only to the same dsl line: > $ host tuxedo.org > tuxedo.org has address 66.92.236.83 > $ host 66.92.236.83 > 83.236.92.66.in-addr.arpa domain name pointer dsl092-236-083.phl1.dsl.speakeasy.net. > > It's also not an iptables redirect trick(most likely). It's probably > just their configuration for apache. This appears to be the real web > host: http://www.wayreth.net/
Line 4 of the response is the interesting one. I'm not an Apache expert, but I think I could get this working by rewriting anything under / to a CGI script that outputs a random Location: header and a 302 code. $ wget -S http://www.tuxedo.org/ --15:40:27-- http://www.tuxedo.org/ => `index.html' Resolving www.tuxedo.org... done. Connecting to www.tuxedo.org[66.92.236.83]:80... connected. HTTP request sent, awaiting response... 1 HTTP/1.1 302 Found 2 Date: Wed, 05 Feb 2003 23:40:09 GMT 3 Server: Apache/1.3.26 (Unix) Debian GNU/Linux mod_layout/3.2 4 Location: http://www.fsf.org/ 5 Connection: close 6 Content-Type: text/html; charset=iso-8859-1 Location: http://www.fsf.org/ [following] --15:40:28-- http://www.fsf.org/ => `index.html' Resolving www.fsf.org... done. Connecting to www.fsf.org[199.232.41.10]:80... connected. HTTP request sent, awaiting response... 1 HTTP/1.1 200 OK 2 Date: Wed, 05 Feb 2003 23:40:29 GMT 3 Server: Apache/1.3.26 (Unix) Debian GNU/Linux mod_python/2.7.8 Python/2.1.3 4 Last-Modified: Sun, 02 Feb 2003 21:18:44 GMT 5 ETag: "1088293-3710-3e3d8b34" 6 Accept-Ranges: bytes 7 Content-Length: 14096 8 Keep-Alive: timeout=15, max=100 9 Connection: Keep-Alive 10 Content-Type: text/html 100%[=======================================================================================================================>] 14,096 17.14K/s ETA 00:00 15:40:30 (17.14 KB/s) - `index.html' saved [14096/14096] -- Bob Miller K<bob> kbobsoft software consulting http://kbobsoft.com [EMAIL PROTECTED] _______________________________________________ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
