<VirtualHost *:443>
Servername http://www.domain.de
ServerAlias http://www.andereDomain.de
</VirtualHost>
http://www.domain.de bezieht sich auf ein gültiges SSL Zertifikat, http://www.andereDomain.de auf ein nicht gültiges SSL Zertifikat. Jedesmal wenn ich den http://www.andereDomain.de aufrufe wird nicht weitergeleitet auf http://www.domain.de.
Listen 443 steht in der ports.conf
Weiterleitung ohne SSL auf Port 80 klappt ohne Probleme.
Ich bin da nun etwas ratlos... gibt es da einen Trick oder ist das generell nicht möglich?
VirtualHost - Serveralias funktioniert nicht
-
- Project Manager
- Posts: 11179
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: VirtualHost - Serveralias funktioniert nicht
Das ist bei SSL generell nicht möglich.
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Administrator
- Posts: 2639
- Joined: 2004-01-21 17:44
Re: VirtualHost - Serveralias funktioniert nicht
ServerAlias verursacht ja auch keine Weiterleitung, sondern bietet die Inhalte eines VHosts auch unter dem alternativen Hostnamen an. Wenn Du tatsächlich eine Weiterleitung möchtest, schau Dir mal mod_redirect oder mod_rewrite an.
“Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry.” — Terry Pratchett, Thief of Time
-
- Posts: 2
- Joined: 2009-10-22 11:04
Re: VirtualHost - Serveralias funktioniert nicht
Vielen Dank für den hinweis :)