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

· 10년 전 · 290

저는 아래와 같이 처리합니다.
 
<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년 전 조회 974
10년 전 조회 374
10년 전 조회 338
10년 전 조회 436
10년 전 조회 341
10년 전 조회 569
10년 전 조회 1,393
10년 전 조회 452
10년 전 조회 332
10년 전 조회 326
10년 전 조회 377
10년 전 조회 354
10년 전 조회 291
10년 전 조회 290
10년 전 조회 247
10년 전 조회 301
10년 전 조회 315
10년 전 조회 416
10년 전 조회 335
10년 전 조회 507
10년 전 조회 352
10년 전 조회 288
10년 전 조회 960
10년 전 조회 318
10년 전 조회 331