On Sat, 21 Jun 2014 16:45:10 +0200
Michael Felt <mamf...@gmail.com> wrote:

> I have tried, in a vhost area, to set the DefaultType to
> application/octet-stream, and I have tried to add a Type for .I (capital i)
> endings. However, httpd-2.2.27 seems to be preferring the .php. in the
> filename rather than the .I at the end of the file. When I link the file to
> that it has the name *.php5.* then the ContentType: is as expected.

If you have PHP handling .php requests, then PHP sets the Content-Type
(and other) headers, overriding your config.

Turn off PHP (in the scope of the URL in question) if you want
to use Apache configuration to control content-type.


-- 
Nick Kew

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to