Christian Seiler: Falscher Content-Type bei einigen (nicht allen) HTTP-Antworten

Beitrag lesen

Hallo,

hier mal die wichtigsten Informationen aus dem PDF (das Du hoffentlich wieder entfernt hast):

* PHP 5.2.6 mit Suhosin-Patch
      + ionCube Loader 3.1.31
      + Zend Extension Manager 1.2.2
      + Suhosin 0.9.27
      + Zend Optimizer 3.3.3
      - SAPI: Apache 2 Handler
 * Apache 2.2 (genauere Version steht da nicht)
      + Geladene Module:
           core
           prefork
           http_core
           mod_so
           mod_log_config
           mod_logio
           mod_rewrite
           mod_php5
           mod_cgi
           mod_dav
           mod_dav_fs
           mod_include
           mod_actions
           mod_mime_magic
           mod_cache
           mod_disk_cache
           mod_proxy
           mod_proxy_http
           mod_deflate
           mod_status
           mod_autoindex
           mod_mime
           mod_negotiation
           mod_alias
           mod_auth_basic
           mod_authz_user
           mod_authz_host
           mod_authz_groupfile
           mod_authn_file
           mod_setenvif
           mod_dir
           mod_env
           mod_headers
           mod_vhost_limit
           mod_evasive20
      - XBitHack ist aus

Relevante PHP-Ini-Einstellungen:

* default_charset = no value
  * default_mimetype = text/html

Geladene PHP-Erweiterungen:

* bcmath
  * bz2
  * calendar
  * ctype
  * curl
  * date
  * dba
  * dom
  * exif
  * filter
  * ftp
  * gd
  * gettext
  * hash
  * iconv
  * imap
  * json
  * ldap
  * libxml
  * mbstring
  * mcrypt
  * mhash
  * ming
  * mysql
  * mysqli
  * openssl
  * pcre
  * pdf
  * pdo
  * pdo_mysql
  * pdo_sqlite
  * posix
  * pspell
  * reflection
  * session
  * shmop
  * simplexml
  * soap
  * sockets
  * spl
  * sqlite
  * standard
  * suhosin
  * sysvmsg
  * templates
  * tokenizer
  * wddx
  * xml
  * xmlreader
  * xmlrpc
  * xmlwrite
  * xsl
  * zend optimizer
  * zip
  * zlib
  * additional: dbase, ioncube loader, sysvsem, sysvshm

------------------------------- schnipp ---------------------------------

Ich kann darin nichts erkennen, was die Probleme verursachen könnte.

Wie sieht es mit meiner Frage zum PHP-Source Deiner Seite aus? Ich will nicht den ganzen Source sehen, aber gibt's da irgendwo Funktionsaufrufe zur PHP-Funktion header() mit "Content-Type" drin?

Viele Grüße,
Christian

--
Mein "Weblog" [RSS]
Using XSLT to create JSON output (Saxon-B 9.0 for Java)
»I don't believe you can call yourself a web developer until you've built an app that uses hyperlinks for deletion and have all your data deleted by a search bot.«
            -- Kommentar bei TDWTF