diff options
Diffstat (limited to '')
-rwxr-xr-x | sca-cpp/trunk/modules/http/httpd-conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd-conf b/sca-cpp/trunk/modules/http/httpd-conf index 434040803d..bc5ca25a4c 100755 --- a/sca-cpp/trunk/modules/http/httpd-conf +++ b/sca-cpp/trunk/modules/http/httpd-conf @@ -28,6 +28,8 @@ mkdir -p $root/logs mkdir -p $root/conf cat >$root/conf/httpd.conf <<EOF ErrorLog $root/logs/error_log +LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined +CustomLog $root/logs/access_log combined ServerName http://127.0.0.1:$port Listen $port DocumentRoot $htdocs |