容器技术交流

 找回密码
 立即注册
查看: 3662|回复: 0

如何将apache设为不记录日志.

[复制链接]
发表于 2010-2-4 15:17:23 | 显示全部楼层 |阅读模式
如何将apache设为不记录日志.


vhost.conf是这样的.
<VirtualHost *:80>
        Serveralias www.aaaaaaaaaa.com
        ServerAdmin admin@zijidelu.com
        DocumentRoot /home/ftp/aaaaaaaaaa
        ErrorDocument 404 //
        DirectoryIndex index.html index.htm index.php
        ErrorLog /var/log/apache_log_aaaaaaaaaa
        php_admin_value open_basedir "/home/ftp/aaaaaaaaaa/:/tmp/:/var/tmp/"
        <Directory />
                Allow from all
        </Directory>
</VirtualHost>





上面只记录.error.lgo吗?...如何把这个设为禁止谢谢..
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-11 13:10 , Processed in 0.029097 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表