Hi Mohsen

On Thu,18 Dec 2003 19:52:22 +0330
Mohsen Moeeni <[EMAIL PROTECTED]> wrote:
> 
> This should happen as the default action if there is not something
> wrong. If it's not the case for you then you need to make sure if it's
> an Apache issue or IE issue. Just check with another client. If the
> same thing happens with a diffrent browser, then chances are that your
> Apache is sending incorrect content-type header for your .gz files. To
> check it do the following:
> 
> [root@ root]# telnet www.myserver.com 80
> 
> Escape character is '^]'.
> <you type>
> HEAD <your-uri> HTTP/1.1
> host: www.myserver.com
> 
> <you get>
> HTTP/1.1 200 OK
> Date: Thu, 18 Dec 2003 16:09:41 GMT
> Content-Length: 31223
> Connection: close
> Content-Type: text/html  <----
> 
> Connection closed by foreign host.
> [root@ root]# 
> ---

I followed the instructions above and did the following

        $ telnet www.ngogeeks.com 80
        Trying 216.17.101.59...
        Connected to jake.
        Escape character is '^]'.
        HEAD http://jake/ngogeeks/downloads/midcom-example.xml.gz HTTP/1.1
        host: www.ngogeeks.com

but it just sits there. Eventually I will get a connection closed
message and when I look at the error logs I get the following:

        [Fri Dec 19 00:08:39 2003] [error] [client 218.214.55.75] request
        failed: error reading the headers

I tried the a GET request with a plain text file:

        GET http://jake/ngogeeks/README.txt

and that gets the content of the page but using a HEAD request for the
same URI does the same as the .xml.gz file.

I think Apache is serving the right header information as when I click
on the xml.gz it must be getting downloaded and uncompressed on the fly
as it is openned in the browser but as most people would like to save
those sort of files it would make more sense for a save as window to
open.

Thanks very much for your help.

cheers
John

-- 
John Habermann

http://www.ngogeeks.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to