Apache启动错误:Invalid command 'Order'
2014-01-28 17:36
627 查看
启动Apache httpd服务时,报错:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
原因可能是没有加载相应的apache模块,在httpd.conf中添加如下指令可以规避该问题:
LoadModule authz_host_module modules/mod_authz_host.so
也可能是Apache编译时选择了只是支持加载共享模块的模式(--enable-so),单独编译共享模块,通过配置指令LoadModule进行动态加载。
一个个查找并加载这些模块比较麻烦,可以编译一个静态链接各内置模块的httpd版本,然后替换掉原来的/usr/sbin/httpd程序,
这样不会出现类似Invalid command 'Order', Invalid command 'AddType'这样的错误。当然多进程时,共享模块可节约内存。
参考阅读:
http://stackoverflow.com/questions/37069/apache-how-do-i-build-individual-and-or-all-modules-as-shared-modules
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
原因可能是没有加载相应的apache模块,在httpd.conf中添加如下指令可以规避该问题:
LoadModule authz_host_module modules/mod_authz_host.so
也可能是Apache编译时选择了只是支持加载共享模块的模式(--enable-so),单独编译共享模块,通过配置指令LoadModule进行动态加载。
一个个查找并加载这些模块比较麻烦,可以编译一个静态链接各内置模块的httpd版本,然后替换掉原来的/usr/sbin/httpd程序,
这样不会出现类似Invalid command 'Order', Invalid command 'AddType'这样的错误。当然多进程时,共享模块可节约内存。
参考阅读:
http://stackoverflow.com/questions/37069/apache-how-do-i-build-individual-and-or-all-modules-as-shared-modules
相关文章推荐
- 配置svn时遇到错误 Invalid command 'DAV', (解决)
- elgg 安装启动apache2.4后报Invalid command 'order', perhaps misspelled or defined by a module not included
- Apache启动 报Invalid command 'order', perhaps misspelled or defined by a module not included
- [错误]android invalid command-line parameter: Files. Hint: use '@foo' to launch a virtual device name
- 启动 apache2.4 出现 invalid command order 问题 【由于 PHP 访问权限 403 问题引起】
- 【错误】android invalid command-line parameter: Files. Hint: use '@foo' to launch a virtual device name
- php 修改了网页访问存储目录,Apache2.4启动时报AH00526错误(Invalid command 'Order')
- javax.management.MalformedObjectNameException: Invalid character '' in value part of property ,Oracle 驱动包的错误
- “cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'”错误的解决办法
- linux启动错误 Invalid module for…
- LaTeX错误:! LaTeX Error: Command `\Finv' already defined.
- 启动apache服务出现Job failed. See system logs and 'systemctl status' for details.
- Linux下android模拟器无法启动,报GLIBC_2.11' not found错误的解决方案
- Linux启动时出错:Linux "could not open default font 'fixed'."错误解决
- command line warning #10006: ignoring unknown option '/NODEFAULTLIB'错误解决(XPDF编译时出现的问题)
- MySQL启动错误:Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28)
- 安装MySQL-python时发生错误:error: command 'gcc' failed with exit status 1
- invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.j
- web.py 启动时候出现AttributeError: 'module' object has no attribute 'inet_pton'错误
- Spring配置文件加载时出现Bean property 'newscontentDAO' is not writable or has an invalid setter method错误的解决