cPanel - WHM - 为apache2新增模块 - mod_version - Invalid command '<IfVersion'

问题:迁移magento2站点后,访问首页,提示500错误,apache2错误日志里有此类错误信息:.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by

尝试:WHM -> EasyApache 4 --> Apache Modules ---> 选上 mod_version

cpanel-apache-modules-version.png

参考:https://stackoverflow.com/questions/51743921/magento-ifversion-perhaps-misspelled-or-defined-by-a-module-not-included-in-t

标签: cPanel

添加新评论