httpd 基本的Module 选项:

httpd 的几个基本的内核模块,一般情况下都需要加载的

(原文链接 http://ddbiz.com/?p=138)

1. mod_auth_core

#LoadModule authz_core_module modules/mod_authz_core.so

    ERR:

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

 

2. mod_dir

#LoadModule dir_module modules/mod_dir.so

    ERR:
Invalid command 'DirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration
3. mod_authz_host
#LoadModule authz_host_module modules/mod_authz_host.so
   ERR:
Unknown Authz provider: all 
4. mod_alias
#LoadModule alias_module modules/mod_alias.so
   ERR:
Invalid command 'Alias', perhaps misspelled or defined by a module not included in the server configuration
5. mod_authn_core (httpd >=2.3.5)
#LoadModule authn_core_module modules/mod_authn_core.so
    ERR:
Invalid command 'Allow', perhaps misspelled or defined by a module not included in the server configuration
6. mod_access_compat
# LoadModule mime_module modules/mod_mime.so
   ERR:Invalid command 'AddHandler', perhaps misspelled or defined by a module not included in the server configuration
7. mod_authn_core
#LoadModule authn_core_module modules/mod_authn_core.so
    ERR:Invalid command 'AuthType', perhaps misspelled or defined by a module not included in the server configuration
8. mod_authn_file
#LoadModule authn_file_module modules/mod_authn_file.so
    ERR: Invalid command 'AuthUserFile', perhaps misspelled or defined by a module not included in the server configuration
9. mod_authz_user
#LoadModule authz_user_module modules/mod_authz_user.so
    ERR: Unknown Authz provider: valid-user
10. mod_unixd
#LoadModule unixd_module modules/mod_unixd.so
ERR:Server MUST relinquish startup privileges before accepting connections. Please ensure mod_unixd or other system security module is loaded.
11. mod_cgi
#LoadModule cgi_module modules/mod_cgi.so
12. mod_log_config
#LoadModule log_config_module modules/mod_log_config.so
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值