HTACCESS AddHandler block site

Avatar
  • updated
  • Answered
Hi,

Recently, our Joomla website was inaccessible.
So I look in the error reporter tool in CPanel.
I got access_compat:error... AH01797...
I did a web research and I found this is related to HtAccess.
So I try several things to make our website up and running again.
I found the issue was related to this line of code: AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
So I commented it and everything work fine now.

Could you look at this issue and tell me what I should do about it.

Best Regard!

J-F

Pinned replies
Avatar
anonymous
  • Answer
  • Answered

Hi, 


Thank you for your question regarding .htaccess. The line of code in question is added to the .htaccess automatically whenever the PHP version of your site is changed. It generally does not cause any problems, but if issues arise from it then it needs to be commented out as you did. Once that is resolved there is nothing else you need to do.


Best Regards,

Alyssa K.

Avatar
anonymous
  • Answer
  • Answered

Hi, 


Thank you for your question regarding .htaccess. The line of code in question is added to the .htaccess automatically whenever the PHP version of your site is changed. It generally does not cause any problems, but if issues arise from it then it needs to be commented out as you did. Once that is resolved there is nothing else you need to do.


Best Regards,

Alyssa K.