Stop Overwriting My .htaccess File Poorly
Hello.
Every time UNA overwrites my htaccess file (about every couple weeks), it does NOT copy custom lines exactly to the new version and screws up my website.
One line in particular is this:
AddHandler application/x-httpd-ea-php70 .php .php7 .phtml .htm .shtml
Each time the htaccess file updates, it only copies this:
AddHandler application/x-httpd-ea-php70 .php .php7 .phtml
All the .htm and .shtml includes then fail and my website looks broken until I manually update the htacess file myself.
Sometimes I don't figure it out immediately because only older pages (not UNA related) have ssi includes, and this costs me $100+ per day in lost revenue and pissed off visitors.
If UNA is going to update my htaccess file, it should duplicate my custom lines exactly. It's quite irritating.
Thank you.
-
- · Will Monte
- ·
Put the handler stuff in the vhost/server block instead of the .htaccess. Leave the .htaccess just for the UNA stuff.
-