httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Effect of AddType / Differences of AddType and AddHandler
Date Sun, 05 Apr 2015 11:36:16 GMT
On Sun, 2015-04-05 at 01:21 +0200, Sebastian Pipping wrote:

> [chop]

It's historic.

Apache 1.0 had no AddHandler, so people used AddType as a hacked
workaround.  Apache 1.1 introduced AddHandler, but the AddType
hack lived on as a zombie.  There are a lot of such zombies around:
for example, almost all mod_rewrite examples you'll ever see are
obsolete but live on because "everyone knows" that mod_rewrite is
the universal configuration tool.

Multiple "extensions" are a different matter.  They are required
for some situations such as content negotiation, but in other cases
they can present a gotcha.  There may well be a case for changing
the current default behaviour.

-- 
Nick Kew


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


Mime
View raw message