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

· 10년 전 · 267

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

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

팁게시판

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
10년 전 조회 944
10년 전 조회 345
10년 전 조회 314
10년 전 조회 412
10년 전 조회 311
10년 전 조회 545
10년 전 조회 1,362
10년 전 조회 413
10년 전 조회 307
10년 전 조회 306
10년 전 조회 354
10년 전 조회 332
10년 전 조회 268
10년 전 조회 271
10년 전 조회 225
10년 전 조회 281
10년 전 조회 297
10년 전 조회 393
10년 전 조회 316
10년 전 조회 485
10년 전 조회 332
10년 전 조회 268
10년 전 조회 938
10년 전 조회 299
10년 전 조회 312