httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: Laying undead myths to rest
Date Mon, 08 May 2006 20:50:07 GMT
On 5/8/06, Joseph Dane <jdane@hawaii.edu> wrote:
> Joshua Slive <joshua@slive.ca> 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.

Mime
View raw message