Mailinglist Archive: opensuse (3605 mails)
| < Previous | Next > |
Re: [SLE] "/index.php" works, "/" doesn't
- From: "Adam Williams" <adamtaunowilliams@xxxxxxxxx>
- Date: Sun, 18 Jun 2006 18:36:14 -0400
- Message-id: <4ed4d43b0606181536h594edc19k972118d9f782bdf9@xxxxxxxxxxxxxx>
The latter means auto-negotation, though I can't see why that wouldMake sense, but why is the proper MIME type detected when the file isAnyone seen anything like this before, and maybe have some pointersYour PHP script is - somehow - being served with the wrong MIME-type.
where to look
Also implies it isn't being put through the PHP-interpreter.
requested explicitly, but not when the file is selected by
DirectoryIndex?
affect the mime-type ...
/etc/apache2/mime.types contains -Do you also have something along the lines of:
application/x-httpd-php phtml pht php php3 php4 php5
AddType application/x-httpd-php php .......
Nope, and adding it to httpd.conf or mod_mime.conf doesn't seem to have any
effect. Also of note, my other server which works fine, doesn't seem to
have this diretive anywhere.
--- other server that works ---
tor:/etc/apache2 # grep -d recurse -i addtype *
extra/httpd-ssl.conf:AddType application/x-x509-ca-cert .crt
extra/httpd-ssl.conf:AddType application/x-pkcs7-crl .crl
mod_mime-defaults.conf:# AddType allows you to add to or override the MIME
configuration
mod_mime-defaults.conf:#AddType application/x-tar .tgz
mod_mime-defaults.conf:AddType application/x-compress .Z
mod_mime-defaults.conf:AddType application/x-gzip .gz .tgz
mod_mime-defaults.conf:Addtype image/x-icon .ico
mod_mime-defaults.conf:#AddType text/html .shtml
ssl-global.conf: AddType application/x-x509-ca-cert .crt
ssl-global.conf: AddType application/x-pkcs7-crl .crl
| < Previous | Next > |