From eaccf44cc341d1c6dd2c086099542ed69757f95e Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Tue, 29 Jan 2013 06:18:05 +0000 Subject: [PATCH] * change the log file for apache. * set the access priviledge for virtual host. --- build/windows/httpd.conf | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/build/windows/httpd.conf b/build/windows/httpd.conf index 2f126b9367..f86650e15e 100644 --- a/build/windows/httpd.conf +++ b/build/windows/httpd.conf @@ -75,19 +75,23 @@ DirectoryIndex index.html index.htm index.php # logs -ErrorLog "logs/error.log" +ErrorLog "logs/error_log" LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined -CustomLog "logs/access.log" combined +CustomLog "logs/access_log" combined # If you want visit zentao like http://localhost/, uncomment these lines. - - ServerAdmin zentao@local.net - DocumentRoot "/xampp/zentao/www" - ServerName localhost - ErrorLog "logs/error_log" - CustomLog "logs/access_log" combind - +# +# ServerAdmin zentao@local.net +# DocumentRoot "/xampp/zentao/www" +# ServerName localhost +# +# AllowOverride none +# Require all granted +# +# ErrorLog "logs/error_log" +# CustomLog "logs/access_log" combind +# # setting for zentao. Alias /zentao "/xampp/zentao/www/"