Windows 上的 apache2.4 中可以禁用哪些模块

Windows 上的 apache2.4 中可以禁用哪些模块

我在 Windows 上运行着一个 Apache 2.4 网络服务器。我正在研究系统强化和配置文件httpd.conf。有许多加载模块,我想知道我可以安全地禁用哪些模块以提高性能和/或安全性。

我认为可以禁用的一些示例包括:

LoadModule cgi_module
others like 
LoadModule rewrite_module
LoadModule version_module
LoadModule proxy_module
LoadModule setenvif_module 

我不太确定它们是否可以被禁用。

我运行 php5 作为脚本引擎,没有数据库,仅此而已。我加载的模块是:

核心 mod_win32 mpm_winnt http_core mod_so mod_access_compat mod_actions mod_alias mod_allowmethods mod_asis mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_dav_lock mod_dir mod_env mod_headers mod_include mod_info mod_isapi mod_log_config mod_cache_disk mod_mime mod_negotiation mod_proxy mod_proxy_ajp mod_rewrite mod_setenvif mod_socache_shmcb mod_ssl mod_status mod_version mod_php5

相关内容