apache log처리에 대해서 입니다. 정보
PHP apache log처리에 대해서 입니다.
본문
저는 아래와 같이 처리합니다.
 
<VirtualHost *:80>
ServerAdmin *** 개인정보보호를 위한 이메일주소 노출방지 ***
DocumentRoot /var/www/html/test
 
ServerName test.org
ServerAlias test.org
 
php_admin_flag allow_url_fopen On
CustomLog "|/opt/lampp/bin/rotatelogs /opt/lampp/logs/test.org_access_log.%Y-%m-%d 86400 +540" common
ErrorLog "|/opt/lampp/bin/rotatelogs /opt/lampp/logs/test.org_error_log.%Y-%m-%d 86400 +540" 
</VirtualHost>
                        
                추천
                
0
                
    0
 
 
댓글 0개