[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apache configuration



I'm not sure what happened, but during one of the upgrades of the apache
package gzipped files no longer were sent with the correct
"Content-Type" anymore.

My understanding is that (for instance) if you get "NEWS.gz" that it
will be sent back with a "Content-Type:" of "text/plain" and a
"Content-Encoding:" of "x-gzip".  Instead  it seems that the content
type is sent as "application/x-gzip".  See the example below.

Anyone know what I have to do to get apache to send back the correct
Content-Type again?

Thanks,

Behan

-- 
Behan Webster     mailto:behanw@verisim.com
+1-613-224-7547   http://www.verisim.com/


----------------------------------------------------------------------------

griffon:/tmp> wget -Y off -S http://localhost/doc/wget/NEWS.gz 
--14:45:20--  http://localhost:80/doc/wget/NEWS.gz
           => `NEWS.gz'
Connecting to localhost:80... connected!
HTTP request sent, fetching headers... 
1 HTTP/1.1 200 OK
2 Date: Tue, 25 Aug 1998 18:45:20 GMT
3 Server: Apache/1.3.1 (Unix) Debian/GNU PHP/3.0.3
4 Last-Modified: Fri, 07 Mar 1997 04:52:56 GMT
5 ETag: "a7a1-8cf-331f9f28"
6 Accept-Ranges: bytes
7 Content-Length: 2255
8 Connection: close
9 Content-Type: application/x-gzip
10 Content-Encoding: 

    0K -> ..

14:45:20 (2.15 MB/s) - `NEWS.gz' saved [2255/2255]

griffon:/tmp>


Reply to: