[eside-ghost] Apache mime types problem
Mikel Olasagasti
hey_neken en mundurat.net
Lun Feb 5 16:51:15 CET 2007
Aupa txabaleria!
Tengo un pequeño problema con un server de apache, que se niega a decir
que un rss.xml es applicacion/xml y dice toool rato que es text/html. Vease:
FreeBSD new_server>
# curl --head http://foo/rss.xml
HTTP/1.1 200 OK
Date: Mon, 05 Feb 2007 11:36:53 GMT
Server: Apache/1.3.37 Ben-SSL/1.57 (Unix) PHP/4.4.4
X-Powered-By: PHP/4.4.4
Content-Type: text/html
FreeBSD old_server>
# curl --head http://foo/rss.xml
HTTP/1.1 200 OK
Date: Mon, 05 Feb 2007 11:38:24 GMT
Server: Apache/1.3.37 Ben-SSL/1.57 (Unix) PHP/4.3.10 mod_fastcgi/2.2.12
mod_gzip/1.3.19.2a mod_perl/1.27
Last-Modified: Sat, 03 Feb 2007 19:06:46 GMT
ETag: "61bf90f-2016-45c4dd46"
Accept-Ranges: bytes
Content-Length: 8214
Connection: close
Content-Type: text/xml
Debian mi_server>
HTTP/1.1 200 OK
Date: Mon, 05 Feb 2007 15:46:11 GMT
Server: Apache/2.2.3 (Debian) PHP/4.4.4-8 mod_ssl/2.2.3 OpenSSL/0.9.8c
Last-Modified: Mon, 05 Feb 2007 10:58:29 GMT
ETag: "bf77-ea8-92cf5f40"
Accept-Ranges: bytes
Content-Length: 3752
Content-Type: application/xml
En la conf de apache tengo puesto (entre el new y old server no hay gran
diferencia):
TypesConfig /usr/local/apache/conf/mime.types
Y en este file estan especificados tanto text/xml como applicacion/xml.
Nada. Tambien he intentado con .htaccess add type.. pero tampoco...
Alguien me ilumina?
Milasker,
MiKeL
Más información sobre la lista de distribución eside-ghost