Apache Module加载问题记录
问题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解决方法:
LoadModule log_config_module modules/mod_log_config.so问题3:
设置了DirectoryIndex index.html index.php 却仍然不能默认访问: index.php解决方法:
LoadModule dir_module modules/mod_dir.so问题4:
Invalid command ‘Require’, perhaps misspelled or defined by a module not included in the server configuration解决方法:
LoadModule authz_core_module modules/mod_authz_core.so问题5:
Invalid command ‘DirectoryIndex’, perhaps misspelled or defined by a module not included in the server configuration解决方法:
LoadModule dir_module modules/mod_dir.so问题6:
Unknown Authz provider: all解决方法:
LoadModule authz_host_module modules/mod_authz_host.so问题7:
Invalid command ‘Alias’, perhaps misspelled or defined by a module not included in the server configuration解决方法:
LoadModule alias_module modules/mod_alias.so问题8:
Invalid command ‘Allow’, perhaps misspelled or defined by a module not included in the server configuration解决方法:
LoadModule authn_core_module modules/mod_authn_core.so问题9:
Invalid command ‘AddHandler’, perhaps misspelled or defined by a module not included in the server configuration解决方法:
LoadModule mime_module modules/mod_mime.so问题10:
Invalid command ‘AuthType’, perhaps misspelled or defined by a module not included in the server configuration解决方法:
LoadModule authn_core_module modules/mod_authn_core.so问题11:
Invalid command ‘AuthUserFile’, perhaps misspelled or defined by a module not included in the server configuration解决方法:
LoadModule authn_file_module modules/mod_authn_file.so问题12:
Unknown Authz provider: valid-user解决方法:
LoadModule authz_user_module modules/mod_authz_user.so问题13:
Server MUST relinquish startup privileges before accepting connections. Please ensure mod_unixd or other system security module is loaded.解决方法:
LoadModule unixd_module modules/mod_unixd.so