Apache2 sni config

  • Hallo zusammen,
    ich bin noch recht neu und habe gerade erst den Umstieg von Froxlor auf I-MSCP fertig.
    Ich habe jetzt noch eine Frage die nicht direkt mit i-mscp zu tun hat, hoffe aber das jemand helfen kann.


    Ich möchte 2 Domains mit SSL sichern. Da ich nur 1 IP habe muss ich dazu sni nutzen, sonst geht es nicht. Ich habe also unter

    Code
    1. /etc/apache2/sites-enabled

    die Datei

    Code
    1. sni.conf

    angelegt. In dieser Datei habe ich dann folgendes angelegt:



    Code
    1. NameVirtualHost *:443SSLStrictSNIVHostCheck off<VirtualHost *:443> ServerName meinedomain.de ServerAlias *.meindomain.de DocumentRoot "/var/www/" SSLEngine on SSLCertificateFile /ssl/cloud.crt SSLCertificateKeyFile /ssl/cloud.key Options -Indexes</VirtualHost>


    danach den Indianer restartet. Jetzt bekomme ich eine Meldung um das SSL Zertifikat als Ausnahme zuzulassen, da ich es ja selber erstellt habe.
    Jetzt komme ich zu dem Fehler. Der Zugriff auf die Seite bricht mit:


    Code
    1. Not FoundThe requested URL /owncloud/ was not found on this server.
    2. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


    ab. Egal welchen Pfad ich in den sni.conf fpr den DocumentRoot angebe, die Meldung bleibt...
    Hat jemand eine Idee

  • Es funktioniert.
    I-MSCP ist super :thumbsup:
    WO ist der Spenden Button? :?:

  • @gOOvER


    Well, maybe he wanted send a donation to you torsten ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @gOOvER


    Well, whatever. Of course, I like the donations but I'll not complain if some donations go in your pocket. After all you're also working for that project ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206