On Sat, 21 Jun 2014 16:45:10 +0200If you have PHP handling .php requests, then PHP sets the Content-Type
Michael Felt <mamfelt@xxxxxxxxx> 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.
(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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx