Web Hosting Talk







View Full Version : php.net - broken mime-types


brewthatistr
05-30-2003, 01:35 AM
10:30 (-8 gmt) pm
29 may 03

.bz2 .pdb and .chm all exhibit this behavior

i'm not really sure whom to contact, so please do direct me if i am in the wrong place.

headers exchanged when i cliicked to download at http://www.php.net/download-docs.php
----begin headers-------
http://www.php.net/distributions/manual/php_manual_en.tar.bz2

GET /distributions/manual/php_manual_en.tar.bz2 HTTP/1.1
Host: www.php.net
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6 StumbleUpon/1.66
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate,compress;q=0.9
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.php.net/download-docs.php
Cookie: COUNTRY=NA%2C4.33.96.177; LAST_LANG=en

HTTP/1.x 302 Found
Date: Fri, 30 May 2003 05:20:19 GMT
Server: Apache/1.3.26 (Unix) mod_gzip/1.3.26.1a PHP/4.3.3-dev
Location: http://static.php.net/www.php.net/distributions/manual/php_manual_en.tar.bz2
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
----------------------------------------------------------
http://static.php.net/www.php.net/distributions/manual/php_manual_en.tar.bz2

GET /www.php.net/distributions/manual/php_manual_en.tar.bz2 HTTP/1.1
Host: static.php.net
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6 StumbleUpon/1.66
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate,compress;q=0.9
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.php.net/download-docs.php
Cookie: COUNTRY=NA%2C4.33.96.177; LAST_LANG=en

HTTP/1.x 200 Ok
Server: Premium thttpd/5.6
Date: Fri, 30 May 2003 05:20:18 GMT
Content-Type: text/plain; charset=iso-8859-1
Last-Modified: Thu, 29 May 2003 16:43:17 GMT
Content-Length: 1120770
Connection: Keep-Alive
----------------------------------------------------------

------end headers--------

this post (http://www.webhostingtalk.com/showthread.php?threadid=147921) details mime types

[edit]note: i downloaded fine from a different mirror (that had mime types configured, presumably)

anon-e-mouse
05-30-2003, 02:03 AM
The programming guru's might see your thread here a bit quicker :)

The Prohacker
05-30-2003, 02:36 AM
What exactly is the question?

I can grab all the english manual files fine right now..

Knogle
05-30-2003, 05:42 AM
Just curious -- how exactly do you view the above headers?

brewthatistr
05-30-2003, 10:00 AM
Originally posted by anon-e-mouse
The programming guru's might see your thread here a bit quicker :)
i want the people in charge of the mirror to see it quicker...how do i get that to happen?

brewthatistr
05-30-2003, 10:05 AM
Originally posted by The Prohacker
What exactly is the question?

I can grab all the english manual files fine right now..
the link i included has some info.
this link (http://devedge.netscape.com/viewsource/2003/mime-types/) has more specific info.

basically, the problem is that the webserver for WHT's mirror is not configured properly, it should send proper mime-types for different file formats, but instead it categorizes them as text (rather than binary) files. all this is explained better in the url above.

i don't really have a question. i'm just trying to contact the people in charge of WHT's mirror. so maybe that is my question...how do i get this message to them?

p.s. i'm not sure what browser you were using, but i do know that some browsers like IE determine filetypes by the windows environment (non-standard) rather than the webserver.

brewthatistr
05-30-2003, 10:15 AM
Originally posted by sanjiv
Just curious -- how exactly do you view the above headers?

i used LiveHTTPHeaders (http://livehttpheaders.mozdev.org/), a mozilla extension
it's still being improved, but so far i couldn't see the headers sent back and forth when a file was properly downloaded (or else i would have posted it for one of the mirrors that DID work).

here are some other options:
http://www.httprevealer.com/introduction.htm
http://hotwired.lycos.com/webmonkey/99/36/index3a.html

The Prohacker
05-30-2003, 10:53 AM
Originally posted by brewthatistr
[B]i don't really have a question. i'm just trying to contact the people in charge of WHT's mirror. so maybe that is my question...how do i get this message to them?

http://bugs.php.net/how-to-report.php

brewthatistr
05-30-2003, 12:17 PM
Originally posted by The Prohacker
http://bugs.php.net/how-to-report.php
it was already submitted, and has not been taken care of.
http://bugs.php.net/bug.php?id=23814

i assumed that since wht was the mirror, that they administered the webserver, am i wrong?

The Prohacker
05-30-2003, 12:21 PM
Originally posted by brewthatistr
it was already submitted, and has not been taken care of.
http://bugs.php.net/bug.php?id=23814

i assumed that since wht was the mirror, that they administered the webserver, am i wrong?



WHT is owned by RackShack.net.. And I'm rather sure that RS maintains the servers.. But we don't know who actually handles the mirrors.. So reporting it to php.net is the best bet, because they have an email list that all offical mirrors are part of, so they would have the way to contact whoever maintains it..