[Xitami] FW: Website using Xitami

Francis Turner xitami@lists.xitami.org
Thu, 10 Jan 2002 16:13:30 +0100


Spyman wrote:

>I was using Zonealarm but Mindspring gave me a free copy of Norton Personal
>Firewall. I also think that I should have a firewall. I only uninstalled it
>the once to see if it made a difference.
>
>Is there a way to find out if port 80 is blocked with the ISP? Is this
>something I can ask them? The only thing about this question is that some
>people can get in every time.
>
>I haven't tried to redirect it to another port such as 4080, which I can do
>through the router setup and Xitami.
>
>I only run Xitami without any of the addons. The family tree software spits
>out the webpages so I can copy them into the webpages directory and have
>them available.
>
I just tried to access your site using wget (a CLI program to get 
webpages). Got some interesting results, whihc also partially appear in 
my browser (Mozilla).

First a default page which gets redirected to index.html (ignore the .1 
thats caused by the fact I had an index.html in the wget diretory)

C:\temp\wget>wget http://www.hanleytime.com/
--15:24:41--  http://www.hanleytime.com/
           => `index.html.1'
Connecting to www.hanleytime.com:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 1,979 [text/html]

    0K                                                         0% @   
0.00 B/s

15:27:38 (0.00 B/s) - Read error at byte 0/1979 (No such file or 
directory). Ret
rying.
..
^C

Now an attempt to get a non existant page - standard Xitami error returned

C:\temp\wget>wget http://www.hanleytime.com/index1.html
--15:27:59--  http://www.hanleytime.com/index1.html
           => `index1.html'
Connecting to www.hanleytime.com:80... connected!
HTTP request sent, awaiting response... 404 Not Found
15:27:59 ERROR 404: Not Found.

Now an attempt to get a page that exists but with no redirect.
C:\temp\wget>wget http://www.hanleytime.com/index.html
--15:28:03--  http://www.hanleytime.com/index.html
           => `index.html.2'
Connecting to www.hanleytime.com:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 1,979 [text/html]

    0K                                                         0% @   
0.00 B/s

15:28:07 (0.00 B/s) - Read error at byte 0/1979 (No such file or 
directory). Ret
rying.

On the other hand even my browser can download 
http://www.hanleytime.com/images/ and get a webpage with the contents of 
your images subdirectory AND I can also download and view 
http://www.hanleytime.com/images/buttons.gif so it looks like the 
problem is somehow related to .html pages.

Using a really basic perl script that uses IO::Socket, what happens is 
that the socket gets closed abruptly after the header is sent. This 
looks like a OS problem where Xitami is for some reason not able to open 
the file to read it because the error pages are correctly downloaded 
although I suppose it could be a router problem. Given that I can 
download images though I'm really confused

I probably of limited use for testing since I have to go through a proxy 
or 2 to get on the internet so its hard for me to tell exactly what is 
going on...

Francis
PS late breaking news. I just tried to download a different image 
(http://www.hanleytime.com/images/xitami1.gif) and it has stalled.

-- 
...if the US Government were ever to get really serious about Internet 
security, the top players in Microsoft's management hierarchy would find 
themselves handcuffed, blindfolded, led onto a tarmac within some obscure 
Air Force base, and shot.
-- Thomas C Greene (http://www.theregister.co.uk/content/55/23223.html)