Hello!
One of my hosters requires to set this in the .htaccess in order to use Php5:
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
But this is destroing my local development-settings, which means using this code in the htaccess makes my local apache-server serve php-code uninterpreted. So every time I upload a site I have to uncomment these 2 lines.
Any idea how to I could avoid this? My idea now was to do something like:
httpd.conf:
Set MyDevelopingMachine=1
.htaccess:
<if !MyDevelopingMachine>
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
</if>
Any idea how to do this in Apache 2.2?