httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: Laying undead myths to rest
Date Mon, 08 May 2006 20:53:28 GMT
Joseph Dane wrote:
> Joshua Slive <> 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?

It actually avoids more problems than it creates, consider the example.php.txt
file, which if done with AddHandler will always run through the php handler,
while if done with mime types will devolve to text/plain through the standard
handler (which is what's implied by the filename ordering.)


View raw message