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

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

· 9년 전 · 227

저는 아래와 같이 처리합니다.
 
<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>

댓글 작성

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

로그인하기

게시글 목록

번호 제목
12307
12306
12305
12304
12303
JavaScript 계산기
12302
12301
12300
12299
12298
12297
12296
12295
12294
12293
12292
12291
12290
12289
12288
12287
12286
12285
12284
12283