irgendwie klappt meine vHost-Config nicht so wie ich möchte :
login.domain.tld geht ständig auf Exchange

manager.domain.tld passt, hier sollte aber zusätzlich auch login.domain.tld erreichbar sein.
Wisst ihr wo hier der Denkfehler liegt?
Code: Alles auswählen
<VirtualHost *:80>
ProxyPreserveHost On
RedirectPermanent / https://exchange.domain.tld/
</VirtualHost>
<VirtualHost *:80>
ProxyPreserveHost On
ServerAlias manager.domain.tld
RedirectPermanent / https://manager.domain.tld/
</VirtualHost>
<VirtualHost *:443>
ServerAlias manager.domain.tld
ProxyPass / https://server.domain-intra.local:8444/
ProxyPassReverse / https://server.domain-intra.local:8444/
# Proxy fuer SSL aktivieren
SSLProxyEngine On
SSLCertificateFile /home/foo/certificate.crt
SSLCertificateKeyFile /home/foo/stardomain.key
SSLCertificateChainFile /home/foo/intermediate1.crt
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
</VirtualHost>
<VirtualHost *:443>
ServerName login.domain.tld
ProxyPass / https://server.domain-intra.local:8445/
ProxyPassReverse / https://server.domain-intra.local:8445/
# Proxy fuer SSL aktivieren
SSLProxyEngine On
SSLCertificateFile /home/foo/certificate.crt
SSLCertificateKeyFile /home/foo/stardomain.key
SSLCertificateChainFile /home/foo/intermediate1.crt
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
</VirtualHost>