Hi,
Our htaccess code was edited
from:
AddHandler application/x-httpd-php .php .html
to:
# AddHandler application/x-httpd-php .php .html
-
If its edited our php include in html pages will not work.
-
I received a confirmation from our host:
Last time we did an Apache/PHP recompile, we removed the immutable status (chattr -i <file>) of the .htaccess files, to see if they would still be modified. Some of the .htaccess files were still modified, however we checked them immediately after the recompile was done and made sure they were alright.
It seems the only solution at the moment is to make them immutable (chattr +i <file>). cPanel knows about the issue and I expect they will have a solution fairly soon, however until then we'll have to make due with chattr.
--
I needed an advise what to do w/ our htaccess to that it will not be modified when theres Apache/PHP recompile.
Our htaccess code was edited
from:
AddHandler application/x-httpd-php .php .html
to:
# AddHandler application/x-httpd-php .php .html
-
If its edited our php include in html pages will not work.
-
I received a confirmation from our host:
Last time we did an Apache/PHP recompile, we removed the immutable status (chattr -i <file>) of the .htaccess files, to see if they would still be modified. Some of the .htaccess files were still modified, however we checked them immediately after the recompile was done and made sure they were alright.
It seems the only solution at the moment is to make them immutable (chattr +i <file>). cPanel knows about the issue and I expect they will have a solution fairly soon, however until then we'll have to make due with chattr.
--
I needed an advise what to do w/ our htaccess to that it will not be modified when theres Apache/PHP recompile.