apache添加模块常见报错信息

错误1:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
解决办法就是加上:
LoadModule authz_host_module modules/mod_authz_host.so

错误2:
Invalid command 'CustomLog', perhaps misspelled or defined by a module not included in the server configuration
是 httpd-vhost.conf 里的一个选项,解决办法是加上:
LoadModule log_config_module modules/mod_log_config.so

错误3:
设置了,DirectoryIndex index.html index.php 却仍然不能默认访问: index.php
解决办法:
LoadModule dir_module modules/mod_dir.so

你可能感兴趣的:(command,command,Invalid,Invalid,'CustomLog,apache默认页设置,'Order')