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

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

· 9년 전 · 223

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

댓글 작성

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

로그인하기

게시글 목록

번호 제목
12211
12210
12208
12207
12206
12205
20383
12204
12203
12202
12201
12199
350
12197
12196
12195
12193
12190
12189
12188
12187
12186
12185
12183
12182