0
我用命令的apachectl -M在Apache 2.2禁用模塊,我禁用了所有不必要的MODS的,現在我想禁用Apache日誌,我得到:無法在Ubuntu
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_host_module (shared)
authz_user_module (shared)
deflate_module (shared)
dir_module (shared)
headers_module (shared)
mime_module (shared)
php5_module (shared)
proxy_module (shared)
proxy_http_module (shared)
rewrite_module (shared)
setenvif_module (shared)
ssl_module (shared)
wsgi_module (shared)
Syntax OK
我用
a2dismod log_config, a2dismod log, a2dismod log_config_module, a2dismod mod_log_config , a2dismod mod_log
,我總是得到
ERROR: Module log_config does not exist!
我不能更新Apache和還我一個sudoer。