.htaccess mod on cPanel accounts fail on development environment
Posted by: denver49 (---.hlrn.qwest.net)
Date: January 14, 2015 10:57PM

# Use PHPcur as default
AddHandler application/x-httpd-phpcur .php
<IfModule mod_suphp.c>
#suPHP_ConfigPath /opt/phpcur/lib
suPHP_ConfigPath /home/username/public_html
</IfModule>

The above code was added to .htaccess files, by my web host, on 100+ domains in my hosting reseller account, following cPanel upgrades which facilitated selecting which PHP version to run on individual sites.

Now if I synchronize files down to my PC development environment, I always have to remove that code from the .htaccess files, or else the sites won't load in my web browser.

Is there any way to tweak something on the PC development environment so the above code would simply be ignored? So that if I work on 10 sites each week after synchronizing files that I don't have to edit 10 .htaccess files in order to access files locally.

Sorry, only registered users may post in this forum.