테스트 사이트 - 개발 중인 베타 버전입니다

apache log처리에 대해서 입니다.

· 9년 전 · 225

저는 아래와 같이 처리합니다.
 
<VirtualHost *:80>
ServerAdmin webmaster@server2.net
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>

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

게시글 목록

번호 제목
12072
12071
12070
12069
12068
12067
12066
12065
20376
12064
12063
12062
12061
334
12052
12051
328
327
20375
12050
12049
325
12047
319
12045