Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Docs

docs about AddType vs. ForceType

 

 

Apache docs RSS feed   Index | Next | Previous | View Threaded


apache at spam

Oct 16, 2007, 10:52 AM

Post #1 of 3 (1130 views)
Permalink
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 [at] httpd
For additional commands, e-mail: docs-help [at] httpd


joshua at slive

Oct 16, 2007, 11:52 AM

Post #2 of 3 (1057 views)
Permalink
Re: docs about AddType vs. ForceType [In reply to]

On 10/16/07, Falk Hackenberger <apache [at] spam> 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 [at] httpd
For additional commands, e-mail: docs-help [at] httpd


apache at spam

Oct 16, 2007, 12:00 PM

Post #3 of 3 (1056 views)
Permalink
Re: docs about AddType vs. ForceType [In reply to]

Joshua Slive schrieb:
> On 10/16/07, Falk Hackenberger <apache [at] spam> 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 [at] httpd
For additional commands, e-mail: docs-help [at] httpd

Apache docs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.