db domains set proxypassdomain.com domain db domains setprop proxypassdomain.com Nameservers internet db domains setprop proxypassdomain.com ProxyPassTarget http://xxx.xxx.xxx.xxx/ db domains setprop proxypassdomain.com TemplatePath ProxyPassVirtualHosts signal-event domain-create proxypassdomain.com |
http://192.168.0.20/webmail (or /zarafa /webaccess) |
second-domian.tld=domain
Nameservers=internet
ProxyPassTarget=http://10.0.10.94/
TemplatePath=ProxyPassVirtualHosts
db domains show proxypassdomain.com
second-domain.nl=domain
Content=rk_domein
Description=RK Domain
Nameservers=localhost
ProxyPassTarget=http://192.168.0.20/
TemplatePath=ProxyPassVirtualHosts
db domains delprop second-domain Content
db domains delprop second-domain Description
signal-event domain-modify second-domain
second-domain.nl=domain
Nameservers=localhost
ProxyPassTarget=http://192.168.0.20/
TemplatePath=ProxyPassVirtualHosts
But shouldn't Nameservers be set to internet in stead of localhost?Yes, AFAICT from the information you provided.
second-domain.nl=domain
Nameservers=internet
ProxyPassTarget=http://192.168.0.20/
TemplatePath=ProxyPassVirtualHosts
</Location>
Alias /zarafa /usr/share/zarafa-webaccess
Alias /webmail /usr/share/zarafa-webaccess
Alias /webaccess /usr/share/zarafa-webaccess
Alias /mobile /usr/share/zarafa-webaccess-mobile
Alias /Microsoft-Server-ActiveSync /var/www/html/z-push/index.php
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/26RewriteTraceAndTrack /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/
nano 26RewriteTraceAndTrack
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
ProxyPreserveHost On
signal-event remoteaccess-update
I finally get it working... The solution was in the fact that the ProxyPreserveHost must be set ON instead of the default OFF. This is what i have done:OK, so it seems that the functionality on your internal server needs the original Host: line from the HTTP request. Thanks for posting back, it indeed might help someone else.