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

0 个评论

要回复文章请先登录注册