Apache报错信息之Invalid command 'Order', perhaps misspelled or defined by a module not included in the server config

时间:2022-03-06 15:56:08

今天配置开启Apache虚拟主机时,

然后日志报错提示:

Invalid command 'Order', perhaps misspelled or defined by a module not included in the server config

Apache报错信息之Invalid command 'Order', perhaps misspelled or defined by a module not included in the server config

解决方法:

#LoadModule access_compat_module modules/mod_access_compat.so

前面改成:

LoadModule access_compat_module modules/mod_access_compat.so

参考官方地址是这样描述滴:

http://httpd.apache.org/docs/2.4/upgrading.html

Apache报错信息之Invalid command 'Order', perhaps misspelled or defined by a module not included in the server config