LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   WMin/VMin, virtual hosts and symbolic links (https://www.linuxquestions.org/questions/linux-newbie-8/wmin-vmin-virtual-hosts-and-symbolic-links-858826/)

jsp_1983 01-26-2011 12:11 PM

WMin/VMin, virtual hosts and symbolic links
 
So, I'm trying to set up a Drupal multi-site installation, as described here - http://drupal.org/node/107347 - but I seem to be having a bit of trouble.

I've got a virtual server set up in Virtualmin (running on CentOS 5.5) which is hosting the core Drupal installation (let's call it siteA.co.uk). I've created a copy of the Drupal database and created a new settings.php file, as the tutorial says.

I've since created a new virtual server in Virtualmin (let's call it siteB.co.uk).

Finally, I created a symbolic link in the web root folder of siteB.co.uk, like so: ln -s /home/siteA/public_html/ /home/siteB/public_html/

When I access siteB.co.uk, the tutorial suggests I should be able to set up the Drupal site for siteB.co.uk and set up the admin account, however all I see is the default 403 Forbidden page.

What have I misunderstood or done wrong?

bathory 01-26-2011 01:04 PM

Hi,

You should look at apache error_log for more info, but I guess that you miss "FollowSymLinks" among the other options in the Options directive in httpd.conf

Regards

jsp_1983 01-27-2011 08:23 AM

Thanks, I'll take a look.


All times are GMT -5. The time now is 08:48 AM.