Showing posts with label Apache Joomla SSL vhosts AMP FreeBSD. Show all posts
Showing posts with label Apache Joomla SSL vhosts AMP FreeBSD. Show all posts

Sunday, 11 December 2011

The FreeBSD Experience - Part 5 : Apache/Joomla

In this part, I continue with my FreeBSD server and configure it to host two Joomla sites. Let's say I'm going to create seperate sites for John and Jenn. First go to the directory containing the original Joomla installation:

cd /usr/local/www/
cp -Rp joomla john
cp -Rp joomla jenn
chown www:www john
chown www:www jenn

Now I have two seperate Joomla installations (it is advised to copy the original Joomla directory before starting your installation). Next is adding virtual hosts in the Apache config.

Uncomment the following line in /usr/local/etc/apache22/httpd.conf:

Include etc/apache22/extra/httpd-vhosts.conf