virk
Aktives Mitglied
Thread Starter
- Dabei seit
- 14.06.2012
- Beiträge
- 673
- Reaktionspunkte
- 278
Klasse! user in Baikal von Heiner auf heiner ("Klein-Heiner ) geändert und schon läuft es (wohl).
Noch eine Frage: Muss in der "/private/etc/apache2/extra/httpd-vhosts.conf"
der Eintrag bei "DocumentRoot" und der bei "<Directory .." gleich lauten? Ich erkenne bislang keinen Unterschied, ob bei "<Directory..:" das "/html" hintendranhängt oder nicht.
Noch eine Frage: Muss in der "/private/etc/apache2/extra/httpd-vhosts.conf"
....
#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host2.example.com
# DocumentRoot "/usr/docs/dummy-host2.example.com"
# ServerName dummy-host2.example.com
# ErrorLog "/private/var/log/apache2/dummy-host2.example.com-error_log"
# CustomLog "/private/var/log/apache2/dummy-host2.example.com-access_log" common
#</VirtualHost>
#
# Ab hier am 30.10.2020 neu geschrieben
#
<VirtualHost *:443>
ServerAdmin heiner@virk.local
DocumentRoot "/Users/heiner/sites/baikal2/html"
ServerName virk.local
<Directory /Users/heiner/sites/baikal2>
AllowOverride All
Require all granted
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
ErrorLog "/private/var/log/apache2/baikal-error_log"
CustomLog "/private/var/log/apache2/baikal-access_log" common
SSLEngine on
SSLCertificateFile "/private/etc/apache2/server_2.crt"
SSLCertificateKeyFile "/private/etc/apache2/server_2.key"
</VirtualHost>
der Eintrag bei "DocumentRoot" und der bei "<Directory .." gleich lauten? Ich erkenne bislang keinen Unterschied, ob bei "<Directory..:" das "/html" hintendranhängt oder nicht.