From 968560db41934a4c27f66c5130598fe89760336b Mon Sep 17 00:00:00 2001
From: Michael Hierweck <michael.hierweck@hostsharing.net>
Date: Thu, 20 Sep 2012 18:50:00 +0200
Subject: [PATCH] Virtual Host Templates:

---
 hsarback/src/de/hsadmin/mods/dom/httpd-vhost-static.jtpl  |   10 +++++-----
 hsarback/src/de/hsadmin/mods/dom/httpd-vhost-dynamic.jtpl |   10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/hsarback/src/de/hsadmin/mods/dom/httpd-vhost-dynamic.jtpl b/hsarback/src/de/hsadmin/mods/dom/httpd-vhost-dynamic.jtpl
index 63722b4..e8d7af6 100644
--- a/hsarback/src/de/hsadmin/mods/dom/httpd-vhost-dynamic.jtpl
+++ b/hsarback/src/de/hsadmin/mods/dom/httpd-vhost-dynamic.jtpl
@@ -7,7 +7,7 @@
 
     ServerName {DOM_HOSTNAME}
     ServerAlias *.{DOM_HOSTNAME}
-    ServerAdmin {DOM_USERNAME}@{HIVE}.hostsharing.net
+    ServerAdmin webmaster@{DOM_HOSTNAME}
 
     SuexecUserGroup {DOM_USERNAME} {PAC}
 
@@ -24,15 +24,15 @@
        AllowOverride AuthConfig FileInfo Indexes Limit
     </Directory>
 
-    <Location /cgi-bin/>
+    <Directory /home/doms/{DOM_HOSTNAME}/cgi-bin/>
         SetHandler cgi-script
         Options +ExecCGI -Indexes -MultiViews
-    </Location>
+    </Directory>
 
-    <Location /fastcgi-bin/>
+    <Directory /home/doms/{DOM_HOSTNAME}/fastcgi-bin/>
         SetHandler fcgid-script
         Options +ExecCGI -Indexes -MultiViews
-    </Location>
+    </Directory>
 
     RewriteEngine On
     RewriteOptions Inherit
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 3079099..4a2cb1c 100644
--- a/hsarback/src/de/hsadmin/mods/dom/httpd-vhost-static.jtpl
+++ b/hsarback/src/de/hsadmin/mods/dom/httpd-vhost-static.jtpl
@@ -7,7 +7,7 @@
 
     ServerName {DOM_HOSTNAME}
     ServerAlias *.{DOM_HOSTNAME}
-    ServerAdmin {DOM_USERNAME}@{HIVE}.hostsharing.net
+    ServerAdmin webmaster@{DOM_HOSTNAME}
 
     SuexecUserGroup {DOM_USERNAME} {PAC}
 
@@ -21,13 +21,13 @@
        AllowOverride AuthConfig FileInfo Indexes Limit
     </Directory>
 
-    <Location /cgi-bin/>
+    <Directory /home/doms/{DOM_HOSTNAME}/cgi-bin/>
         Redirect 501 /
-    </Location>
+    </Directory>
 
-    <Location /fastcgi-bin/>
+    <Directory /home/doms/{DOM_HOSTNAME}/fastcgi-bin/>
         Redirect 501 /
-    </Location>
+    </Directory>
 
     RewriteEngine On
     RewriteOptions Inherit

--
Gitblit v1.9.0-SNAPSHOT