On 5/8/06, Joseph Dane <[EMAIL PROTECTED]> wrote:
Joshua Slive <[EMAIL PROTECTED]> writes:

> In very early versions of the Apache HTTP Server, the
> <directive>AddType</directive> directive was also used to activate
> special server-side processing (such as <module>mod_include</module>
> or PHP) by assigning "magic" MIME types to files.  This  can create
> problems in more recent versions and should be avoided in favor of
> using the <directive>AddHandler</directive> directive.</note>

for the record (not necessarily for the docs) can you expand on the
sort of problems that might arise?

Essentially, any processing that depends on the Content-Type will be
messed up because a fake Content-Type is being used to trigger other
processing.  For example, people using multiviews with php often have
problems:
http://tranchant.plus.com/notes/multiviews

(Lots of these content-type-dependent things are semi-broken anyways
because content-type can be changed very late in processing, messing
up decisions based on the configured type.)

Joshua.

Reply via email to