jim.thornton
Verified User
- Joined
- Jan 1, 2008
- Messages
- 334
I'm looking at installing BaiKal into my DA server. I've followed their directions so far, but I'm now at the following:
Now, there obviously isn't sites-available directory with the CentOS 6.3 & DA setup. So, I'm curious if adding this vhost is as simple as creating a symlink to the /var/www/html/baikal directory with the vhost file? Or, is there a better way of doing it??
Any help would be greatly appreciated.
Code:
In our example, we will assume that the apache2 configuration directory is: `/etc/apache2`
```sh
# a. Enter the Apache2 configuration directory
$ root:/var/www> cd /etc/apache2
# b. Enter the sites-available directory
$ root:/etc/apache2> cd sites-available
# c. Symlink the Baikal virtualhost file to this directory
$ root:/etc/apache2/sites-available> ln -s /var/www/dav.mydomain.com/Specific/virtualhosts/baikal.apache2
# d. Customize the virtualhost config file
$ root:/etc/apache2/sites-available> nano baikal.apache2
# e. In baikal.apache2, replace references to dav.mydomain.com with your own domain name
# f. Activate the new virtualhost
$ root:/etc/apache2/sites-available> cd ../sites-enabled
$ root:/etc/apache2/sites-enabled> ln -s ../sites-available/baikal.apache2
# h. Restart apache
$ root:/etc/apache2/sites-enabled> /etc/init.d/apache2 restart
Any help would be greatly appreciated.