* change the log file for apache.
* set the access priviledge for virtual host.
This commit is contained in:
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user