Difference between Apache AddType and AddHandler directives ?

Posted by nitins on Server Fault See other posts from Server Fault or by nitins
Published on 2010-04-10T08:03:16Z Indexed on 2010/04/10 8:13 UTC
Read the original article Hit count: 577

Filed under:
|
|

My understanding is

AddHandler - for server AddType - for client (browser)

AddType application/x-httpd-php4 .php4
AddHandler application/x-httpd-php4 .php4

But why do we need to add both ? Is both needed in case of PHP ? Is AddType needed for PHP ?

© Server Fault or respective owner

Related posts about apache

Related posts about webserver