From 2cd99c51ccaee15aa5dd3b5e90276f2805235bd3 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Tue, 29 Jan 2013 03:39:05 +0000 Subject: [PATCH] =?UTF-8?q?=20*=20when=20turn=20on=20virtualhost,=20set=20?= =?UTF-8?q?the=20access=20priviledge=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/linux/httpd.conf | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/build/linux/httpd.conf b/build/linux/httpd.conf index 99d797fa9b..cc3251bc01 100644 --- a/build/linux/httpd.conf +++ b/build/linux/httpd.conf @@ -60,16 +60,16 @@ AddType application/x-httpd-php .php .php3 .php4 # directory settings. DirectoryIndex index.html index.htm index.php - AllowOverride none - Require all denied + AllowOverride none + Require all denied - Options Indexes FollowSymLinks - AllowOverride All - Require all granted + Options Indexes FollowSymLinks + AllowOverride All + Require all granted - Require all denied + Require all denied # logs @@ -80,11 +80,15 @@ CustomLog "logs/access_log" combined # If you want visit zentao like http://localhost/, uncomment these lines. # -# 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 +# +# AllowOverride none +# Require all granted +# +# ErrorLog "logs/error_log" +# CustomLog "logs/access_log" combind # # setting for zentao.