Yes telnetting to the server and sending a request works both with and without a Host header. It only fails if I go from a browser :-/
It is indeed running on Linux - Mandrake 10 with a 2.6.3 kernel. And yes it is only showing one process/thread in the process list. On my machine I get:
19633 ? S 0:00 bin/nsd -b 192.168.1.2:8000 -u steve -t sample-config.tcl
On another machine with the same config I get:
16931 ? S 0:00 bin/nsd -b 192.168.1.3:8000 -u dawn2 -t sample-config.tcl
16932 ? S 0:00 \_ bin/nsd -b 192.168.1.3:8000 -u dawn2 -t sample-config.tcl
16933 ? S 0:00 \_ bin/nsd -b 192.168.1.3:8000 -u dawn2 -t sample-config.tcl
16934 ? S 0:00 \_ bin/nsd -b 192.168.1.3:8000 -u dawn2 -t sample-config.tcl
16935 ? S 0:00 \_ bin/nsd -b 192.168.1.3:8000 -u dawn2 -t sample-config.tcl
This was all working fine up until Wednesday.
Steve
On Sat, 2004-06-26 at 10:26, russm wrote:
have you tried telneting to the server and including a "Host: steve.festinalente.co.uk" header in the request you issue? what OS is this running on? there should only be one nsd process, but on linux (I believe) ps shows a distinct "process" for each thread - are you saying that there's only a single thread running in the nsd process? On 26/06/2004, at 7:02 PM, Steve wrote: > I have just tried http://steve.festinalente.co.uk:8000 from a browser > on > a different machine and it is fine??? > > Can anyone suggest what the significance of only seeing one nsd process > might be? > > Steve > > On Sat, 2004-06-26 at 09:25, Steve wrote: > >> Hi Cro >> >> I should have said that I have DNS on a seperate server and its fine. >> I can 'dig steve.festinalente.co.uk' from any machine on the network >> and it resolves to 192.168.1.2 including on my machine itself. >> >> I stuck a small index.html in pages. Now if I telnet to the machine >> and request the page, it is served: >> >> >> telnet steve.festinalente.co.uk 8000 >> Trying 192.168.1.2... >> Connected to steve.festinalente.co.uk (192.168.1.2). >> Escape character is '^]'. >> GET / HTTP/1.0 >> >> HTTP/1.0 200 OK >> Last-Modified: Sat, 26 Jun 2004 08:03:24 GMT >> MIME-Version: 1.0 >> Date: Sat, 26 Jun 2004 08:16:04 GMT >> Server: AOLserver/4.0 >> Content-Type: text/html; charset=iso-8859-1 >> Content-Length: 49 >> Connection: close >> >> <html> >> <head> >> </head> >> <body> >> TEST >> </body> >> </html>Connection closed by foreign host. >> >> >> But if I make the same request from any browser >> http://steve.festinalente.co.uk:8000/ it just spins eventually coming >> back with connection refused. But if I ask for >> http://192.168.1.2:8000/ it works? I have tried this with 3 different >> browsers. >> >> Something somewhere is screwed. The investigation continues :-) >> >> Steve > > > > > -- > AOLserver - http://www.aolserver.com/ > > To Remove yourself from this list, simply send an email to > <[EMAIL PROTECTED]> with the > body of "SIGNOFF AOLSERVER" in the email message. You can leave the > Subject: field of your email blank. -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
