I have a joomla turnkey linux appliance (ubuntu) that I have joomla and JMS installed and working.
Everything is working fine for the master site and 4 slave sites.
However, when I try to configure a virtual host in apache to be served outside of joomla/JMS, all my JMS slave sites stop working, which means they simply list directory contents of the master directory.
Here is what my joomla site's vhost file looks like:
Code: |
<VirtualHost 10.1.1.10:80>
ServerName web01.answerfirst.com
ServerAlias *.web01.answerfirst.com
UseCanonicalName Off
ServerAdmin webmaster@answerfirst.com
DocumentRoot /usr/share/joomla15
</VirtualHost>
<VirtualHost 10.1.1.10:443>
SSLEngine on
SSLCertificateFile /etc/apache2/ssl.crt/web01.answerfirst.com.crt
SSLCertificateKeyFile /etc/apache2/ssl.key/web01.answerfirst.com.key
SSLCertificateChainFile /etc/apache2/ssl.crt/sf_bundle.crt
ServerAdmin webmaster@answerfirst.com
DocumentRoot /usr/share/joomla15
</VirtualHost>
<Directory /usr/share/joomla15/>
Options +FollowSymLinks
AllowOverride All
order allow,deny
allow from all
</Directory>
|
and this is what my virtual host (outside of joomla--now disabled) looks like:
Code: |
<VirtualHost 10.1.1.10:80>
DocumentRoot /usr/share/answerfirst.com
ServerName answerfirst.us
ServerAlias www.answerfirst.us
<Directory "/usr/share/answerfirst.com">
allow from all
Options +Indexes
</Directory>
</VirtualHost>
|
Any suggestions on the changes I need to make so I can enable the second vhost and still have my slave sites working properly?
Thanks,
James