천

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

· 2015-11-21 (토) 19:29:46 · 2356

저는 아래와 같이 처리합니다.
 
<VirtualHost *:80>
ServerAdmin [email protected]
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>

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

개발자팁

5,403건

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
MySQL 15-09-21 조회 3,459
15-08-06 조회 3,804
PHP 15-08-03 조회 3,753
PHP 15-07-12 조회 4,970
MySQL 15-07-02 조회 3,974
웹서버 15-06-16 조회 9,042
JavaScript 15-06-09 조회 4,987
jQuery 15-05-29 조회 5,852
기타 15-05-27 조회 8,202
기타 15-05-23 조회 4,379
기타 15-05-19 조회 5,275
기타 15-05-18 조회 1.4만
PHP 15-05-07 조회 9,380
웹서버 15-05-07 조회 4,707
JavaScript 15-05-06 조회 8,306
PHP 15-05-06 조회 9,324
PHP 15-05-06 조회 7,545
기타 15-04-13 조회 4,206
MySQL 11-01-14 조회 5,433
PHP 15-04-04 조회 5,285
PHP 15-04-04 조회 3,743
OS 15-04-03 조회 4,929
PHP 15-04-01 조회 7,241
JavaScript 15-03-28 조회 3,956
기타 15-03-20 조회 5,331
웹서버 15-03-02 조회 1만
PHP 15-02-10 조회 6,930
MySQL 15-02-09 조회 4,991
jQuery 15-02-02 조회 4,545
PHP 15-01-31 조회 9,129