* when turn on virtualhost, set the access priviledge。

This commit is contained in:
wangchunsheng
2013-01-29 03:39:05 +00:00
parent 96a923e0ca
commit 2cd99c51cc

View File

@@ -60,16 +60,16 @@ AddType application/x-httpd-php .php .php3 .php4
# directory settings.
DirectoryIndex index.html index.htm index.php
<Directory />
AllowOverride none
Require all denied
AllowOverride none
Require all denied
</Directory>
<Directory "/opt/lampp/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Files ".zt*">
Require all denied
Require all denied
</Files>
# logs
@@ -80,11 +80,15 @@ CustomLog "logs/access_log" combined
# If you want visit zentao like http://localhost/, uncomment these lines.
#<VirtualHost *:80>
# ServerAdmin zentao@local.net
# DocumentRoot "/opt/lampp/zentao/www"
# ServerName localhost
# ErrorLog "logs/error_log"
# CustomLog "logs/access_log" combind
# ServerAdmin zentao@local.net
# DocumentRoot "/opt/lampp/zentao/www"
# ServerName localhost
# <Directory />
# AllowOverride none
# Require all granted
# </Directory>
# ErrorLog "logs/error_log"
# CustomLog "logs/access_log" combind
#</VirtualHost>
# setting for zentao.