* change the log file for apache.

* set the access priviledge for virtual host.
This commit is contained in:
wangchunsheng
2013-01-29 06:18:05 +00:00
parent c283a5076a
commit eaccf44cc3
+13 -9
View File
@@ -75,19 +75,23 @@ DirectoryIndex index.html index.htm index.php
</Files>
# 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.
<VirtualHost *:80>
ServerAdmin zentao@local.net
DocumentRoot "/xampp/zentao/www"
ServerName localhost
ErrorLog "logs/error_log"
CustomLog "logs/access_log" combind
</VirtualHost>
#<VirtualHost *:80>
# ServerAdmin zentao@local.net
# DocumentRoot "/xampp/zentao/www"
# ServerName localhost
# <Directory />
# AllowOverride none
# Require all granted
# </Directory>
# ErrorLog "logs/error_log"
# CustomLog "logs/access_log" combind
#</VirtualHost>
# setting for zentao.
Alias /zentao "/xampp/zentao/www/"