Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo zusammen,

ich versuche gerade bei meinem Apache für den virtuellen Host auch SSL zu aktivieren. Aber irgendwie funktioniert das nicht so ganz.

In meiner httpd.conf steht unter anderem

<VirtualHost *>

ServerName domain1.haus.de

</VirtualHost>

<VirtualHost *>

DocumentRoot "/diverses/html/testserver/domain2"

ServerName domain2.haus.de

ServerAlias domain2

</VirtualHost>

<VirtualHost domain1.haus.de:81>

DocumentRoot /diverses/html/testserver/domain2

ServerName domain1.haus.de

</VirtualHost>

Wenn ich http://domain1.haus.de eingebe, erscheint Server 1. Bei https://domain1.haus.de kommt auch Server 1. Das mit Port 81 klappt auch.

Wenn ich http://domain2.haus.de eingebe, erscheint Server 2. Was muss ich einstellen, dass bei https://doamin2.haus.de auch Server 2 erscheint und nicht Server 1?

Frank

  • Autor

Ich habe jetzt noch

<VirtualHost domain2.haus.de:443>

Port 443

SSLEnable

SSLCertificateFile /etc/httpd/ssl.crt/server.crt

SSLCertificateKeyFile /etc/httpd/ssl.key/server.key

DocumentRoot "/diverses/html/testserver/domain2"

ServerName domain2.haus.de

ServerAlias domain2

</VirtualHost>

in meiner httpd.conf eingetragen.

https://domain2.haus.de funktioniert jetzt.

Aber wenn ich dann https://domain1.haus.de mache, dann erscheinen immer die Dateien von der Domain 2.

Frank

Sind das zwei verschiedene IPs? Falls nicht muß noch ein NameVirtualHost in die Konfiguration sein.

Evtl. ist in Deinem Browsercache die alte Seite drin (MS IE ist ein heißer Kandiat für dieses 'Problem' :( )

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.