How to combine different AddHandler?

126 Views Asked by At

Yesterday, I was asking the Question about making .htaccess file "universal" so that I can use it on different servers.
Today, I found that the problem is arrising only because of 1 line,
"AddHandler"

On 1 server It's working by adding at the top

AddHandler x-httpd-php5-cgi .html  

While on another server It's working by using,

AddHandler x-httpd-php5 .php .html

But when I combine both lines, It works only on single server. Isn't it possible to combine different "AddHandler" to work on all servers?

0

There are 0 best solutions below