From 400c14a23e4e49f94de6f207d09d5c0633de6f76 Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
Date: Thu, 20 Sep 2012 17:21:04 +0200
Subject: [PATCH] merged

---
 hsarback/src/de/hsadmin/mods/dom/httpd-vhost-static.jtpl |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/hsarback/src/de/hsadmin/mods/dom/httpd-vhost-static.jtpl b/hsarback/src/de/hsadmin/mods/dom/httpd-vhost-static.jtpl
index c6982a4..0f0cc6e 100644
--- a/hsarback/src/de/hsadmin/mods/dom/httpd-vhost-static.jtpl
+++ b/hsarback/src/de/hsadmin/mods/dom/httpd-vhost-static.jtpl
@@ -1,4 +1,9 @@
-<!-- BEGIN: main --><VirtualHost {DOM_IPNUMBER}:80 {DOM_IPNUMBEREX}:80>
+<!-- BEGIN: main --># 
+# This file is managed by HSAdmin.
+# Do not edit manually. Changes will be overwritten.
+#
+
+<VirtualHost {DOM_IPNUMBER}:80 {DOM_IPNUMBEREX}:80>
 
     ServerName {DOM_HOSTNAME}
     ServerAlias *.{DOM_HOSTNAME}
@@ -30,7 +35,6 @@
     RewriteCond %{HTTP_HOST} ^(.+)\.{DOM_HOSTNAME}\.?(:80)?$ [novary]
     RewriteCond /home/doms/{DOM_HOSTNAME}/subs/${tolower:%1} -d
     RewriteRule ^(.*) /home/doms/{DOM_HOSTNAME}/subs/${tolower:%1}$1 [last]
-
 <!-- BEGIN: iterate -->    RewriteCond %{HTTP_HOST} ^(.+)\.{DOM_HOSTNAME}\.?(:80)?$ [novary]
     RewriteCond /home/doms/{DOM_HOSTNAME}/subs/${tolower:%1} !-d
     RewriteRule ^(.*) - [redirect=404,last]
@@ -80,6 +84,6 @@
 <!-- BEGIN: nosubdomainfallbackforhttps -->    RewriteCond %{HTTP_HOST} ^(.+)\.{DOM_HOSTNAME}\.?(:443)?$ [novary]
     RewriteCond /home/doms/{DOM_HOSTNAME}/subs-ssl/${tolower:%1} !-d
     RewriteRule ^(.*) - [redirect=404,last]
-    
-<!-- END: nosubdomainfallbackforhttps --></VirtualHost>
+<!-- END: nosubdomainfallbackforhttps -->
+</VirtualHost>
 <!-- END: main -->
\ No newline at end of file

--
Gitblit v1.9.0-SNAPSHOT