Q: Stuck at setting up webserver with Baikal
All,
I am stuck at step 4 of the web server setup. According to Barney-15E I should see a "NameVirtualHost" but I only find a 'VirtualHost' example, as below.
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "/usr/docs/dummy-host.example.com"
ServerName dummy-host.example.com
ServerAlias www.dummy-host.example.com
ErrorLog "/private/var/log/apache2/dummy-host.example.com-error_log"
CustomLog "/private/var/log/apache2/dummy-host.example.com-access_log" common
</VirtualHost>
<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>
Here follows the instruction in mentioned file and place. So what should I do, put a '#' before every line hereabove or only at '<VirtualHost *:80>' and '</VirtualHost>'?
INSTRUCTION:
Edit the Virtual Hosts Configuration File
- Comment out the NameVirtualHost *:80 line by putting a # character in front of it.
- Add another that looks like this (but don't comment it out):
NameVirtualHost *:8443
- Add the following at the end of the file:
<VirtualHost *:8443>
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /private/etc/apache2/ssl/ssl.crt
SSLCertificateKeyFile /private/etc/apache2/ssl/ssl.key
ServerName dav.baikal-server
DocumentRoot "/Library/WebServer/Documents/dav.baikal-server/html"
</VirtualHost>
Posted on Dec 2, 2015 9:30 PM