From ced7fc44a7b6fe5db023fca9eefa61e39ad51545 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 05 Sep 2011 10:15:53 -0400
Subject: [PATCH] Fixed: FS#1616 - Extended URL validation

---
 server/plugins-available/apache2_plugin.inc.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php
index 9a90e5d..77a1b08 100644
--- a/server/plugins-available/apache2_plugin.inc.php
+++ b/server/plugins-available/apache2_plugin.inc.php
@@ -488,6 +488,7 @@
 				}
 			}
 			exec('chmod -R a+r '.$error_page_path);
+			exec('chown -R '.$data['new']['system_user'].':'.$data['new']['system_group'].' '.$error_page_path);
 		}  // end copy error docs
 
 		// Create group and user, if not exist

--
Gitblit v1.9.1