You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Falk Hackenberger <ap...@spam.huckley.de> on 2007/10/16 19:52:14 UTC

docs about AddType vs. ForceType

Hello,

some user of apache detect that
if use AddType like

AddType application/x-httpd-php .php

that also files as
foo.php.bar will be handeld as a application/x-httpd-php.

He that this is handeld as DefaultType.
I think this to.

I think it is necessary to document this behavior more clearly, with the
note off the difference to:

<Files ~ "\.php$">
   ForceType application/x-httpd-php
</Files>


falk


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: docs about AddType vs. ForceType

Posted by ap...@spam.huckley.de.
Joshua Slive schrieb:
> On 10/16/07, Falk Hackenberger <ap...@spam.huckley.de> wrote:
>> some user of apache detect that
>> if use AddType like
>>
>> AddType application/x-httpd-php .php
>>
>> that also files as
>> foo.php.bar will be handeld as a application/x-httpd-php.
>>
>> He that this is handeld as DefaultType.
>> I think this to.
>>
>> I think it is necessary to document this behavior more clearly, with the
>> note off the difference to:
>>
>> <Files ~ "\.php$">
>>    ForceType application/x-httpd-php
>> </Files>
> 
> This is already present:
> http://httpd.apache.org/docs/2.2/mod/mod_mime.html#multipleext
> and linked from every Add* directive.

ohh this is fine maby also this should added to the docs of 2.0 and 1.3 ...

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: docs about AddType vs. ForceType

Posted by Joshua Slive <jo...@slive.ca>.
On 10/16/07, Falk Hackenberger <ap...@spam.huckley.de> wrote:
> Hello,
>
> some user of apache detect that
> if use AddType like
>
> AddType application/x-httpd-php .php
>
> that also files as
> foo.php.bar will be handeld as a application/x-httpd-php.
>
> He that this is handeld as DefaultType.
> I think this to.
>
> I think it is necessary to document this behavior more clearly, with the
> note off the difference to:
>
> <Files ~ "\.php$">
>    ForceType application/x-httpd-php
> </Files>

This is already present:
http://httpd.apache.org/docs/2.2/mod/mod_mime.html#multipleext
and linked from every Add* directive.

Joshua.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org