Re: telnet ok, HTTP not
Alexandros Papadopoulos <[email protected]> Tue, 19 Nov 2002 16:29:35 -0500
| Newsgroups | gmane.comp.djb.publicfile |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 19 November 2002 14:51, Paul Jarc wrote: > Alexandros Papadopoulos <[email protected]> wrote: > >>> Host: 128.2.66.150:55555 > > > > Host: 128.2.66.150 > > Do you see the problem? > Ah, rats. I just copied/pasted the wrong session. Sorry about that. I *did* try with Host:$IP:55555 as well, with the same results. Let me state that again, I am *very* sure that the string fed to the "Host:" field exists as a symlink to /public/file/0 , exactly as passed. For the record, here are the symlinks: drwxr-sr-x 3 4096 Nov 19 16:00 0 lrwxrwxrwx 1 14 Nov 19 16:15 128.2.66.150 -> /public/file/0 lrwxrwxrwx 1 14 Nov 19 14:38 128.2.66.150:55555 -> /public/file/0 ...and the requests from the foreign machine: [apapadop@unix46 ~]$ telnet 128.2.66.150 55555 Trying 128.2.66.150... Connected to 128.2.66.150. Escape character is '^]'. GET HTTP 1.0 (I've tried HTTP 1.1 also) Host: 128.2.66.150 HTTP/1.1 404 file does not exist Server: publicfile Date: Tue, 19 Nov 2002 21:18:32 GMT Content-Length: 47 Connection: close Content-Type: text/html <html><body>file does not exist</body></html> Connection closed by foreign host. [apapadop@unix46 ~]$ telnet 128.2.66.150 55555 Trying 128.2.66.150... Connected to 128.2.66.150. Escape character is '^]'. GET HTTP 1.0 Host: 128.2.66.150:55555 HTTP/1.1 404 file does not exist Server: publicfile Date: Tue, 19 Nov 2002 21:19:02 GMT Content-Length: 47 Connection: close Content-Type: text/html <html><body>file does not exist</body></html> Connection closed by foreign host. [apapadop@unix46 ~]$ telnet 128.2.66.150 55555 Trying 128.2.66.150... Connected to 128.2.66.150. Escape character is '^]'. GET <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> But, let us not get consumed on the syntax of my telnet commands, as it is irrelevant, anyhow. I don't expect the users to telnet to my web pages :-P All browsers I used (lynx, Mozilla, Netscape, IE) still can't see the pages, so it's something on the symlinking that doesn't work as expected. I tried having the 128.2.66.150 -> 0 link only, the 128.2.66.150:55555 -> 0 link only, or both of them. No difference. Thank you for the comments. - -A - -- http://andrew.cmu.edu/~apapadop/pub_key.asc 3DAD 8435 DB52 F17B 640F D78C 8260 0CC1 0B75 8265 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE92q0/gmAMwQt1gmURAjCwAJ945jCgrel3pZ9C5taBqWNWJRj/MQCeKG1Y MeWiQBMH9GGwVLixHh6qseQ= =+YQ9 -----END PGP SIGNATURE-----