diff --git a/hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm b/hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm
index b819f36..47cfe9e 100644
--- a/hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm
+++ b/hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm
@@ -48,13 +48,21 @@
Options +ExecCGI +IncludesNoExec -Indexes -MultiViews +SymLinksIfOwnerMatch
+#if( ${autoconfig} )
+
+ ProxyPreserveHost Off
+ ProxyPass https://config.hostsharing.net/hsar/config-v1.1.xml
+
+
+
+ ProxyPreserveHost Off
+ ProxyPass https://config.hostsharing.net/hsar/config-v1.1.xml
+
+#end
+
RewriteEngine On
RewriteOptions Inherit
-#if( ${autoconfig} )
- RewriteRule ^/mail/config-v1.1.xml$ ajp://config.hostsharing.net:8009/hsar/config-v1.1.xml [proxy,last]
-#end
-
RewriteCond %{REQUEST_URI} !^/cgi-bin/
RewriteCond %{REQUEST_URI} !^/fastcgi-bin/
#if( ${letsencrypt} )
@@ -130,14 +138,21 @@
Options +ExecCGI +IncludesNoExec -Indexes -MultiViews +SymLinksIfOwnerMatch
+#if( ${autoconfig} )
+
+ ProxyPreserveHost Off
+ ProxyPass https://config.hostsharing.net/hsar/config-v1.1.xml
+
+
+
+ ProxyPreserveHost Off
+ ProxyPass https://config.hostsharing.net/hsar/config-v1.1.xml
+
+#end
+
RewriteEngine On
RewriteOptions Inherit
-#if( ${autoconfig} )
- RewriteRule ^/mail/config-v1.1.xml$ ajp://config.hostsharing.net:8009/hsar/config-v1.1.xml [proxy,last]
- RewriteRule ^/autodiscover/autodiscover.xml$ ajp://config.hostsharing.net:8009/hsar/config-v1.1.xml [proxy,last]
-#end
-
RewriteCond %{REQUEST_URI} !^/cgi-bin/
RewriteCond %{REQUEST_URI} !^/fastcgi-bin/
#if( ${letsencrypt} )