[SOLVED ]Magento 2.x Apache htaccess IfVersion perhaps misspelled - Internal Server error | Web Hosting | Domain Registration | Wordpress Hosting | SSL Certificates

[SOLVED ]Magento 2.x Apache htaccess IfVersion perhaps misspelled - Internal Server error

PROBLEM:

I encountered the following error with apache 2.4 & cloudlinux running along with CPanel while installing Magento 2.x

[Tue Mar 27 15:14:41.469355 2018] [core:alert] [pid 87038:tid 140477005281024] [client 175.110.69.222:65245] /home/xxxxxx/public_html/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration, referer: https://www.xxxxxx.com/


Actual error was internal server error on the server which was fixed using the following solution:

SOLUTION:

Internal server error was occurring due to a missing Apache module_version so I let it be installed using the following command:

yum install ea-apache24-mod_version

And the issue got fixed.


SHARE