아파치 로그포맷 JSON 변경
# Web&WAS/Apache2021. 4. 1. 17:49아파치 로그포맷 JSON 변경

LogFormat "{ \"time\":\"%t\", \"clientip\":\"%a\",\"host\":\"%V\", \"request\":\"%U\", \"query\":\"%q\", \"method\":\"%m\", \"status\":\"%>s\", \"userAgent\":\"%{User-agent}i\", \"referer\":\"%{Referer}i\" }" json_format

아파치 GeoIP 설정 및 적용(centos5x)
# Web&WAS/Apache2020. 1. 30. 17:04아파치 GeoIP 설정 및 적용(centos5x)

설치환경 centos5.11 x86 apache-2.0.65 geoip api C라이브러리 설치 # unzip geoip-api-c-master.zip 압축해제후 bootstrap실행하면 아래와 같이 오류발생 autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 configure.ac:3: error: Autoconf version 2.63 or higher is required configure.ac:3: the top level autom4te: /usr/bin/m4 failed with exit status: 63 aclocal: aut..

image