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

· 10년 전 · 286

저는 아래와 같이 처리합니다.
 
<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년 전 조회 973
10년 전 조회 373
10년 전 조회 338
10년 전 조회 433
10년 전 조회 341
10년 전 조회 569
10년 전 조회 1,392
10년 전 조회 450
10년 전 조회 331
10년 전 조회 324
10년 전 조회 375
10년 전 조회 353
10년 전 조회 287
10년 전 조회 289
10년 전 조회 244
10년 전 조회 300
10년 전 조회 314
10년 전 조회 415
10년 전 조회 335
10년 전 조회 507
10년 전 조회 351
10년 전 조회 286
10년 전 조회 959
10년 전 조회 317
10년 전 조회 330