[support] Multisite problems

Haisam Ido haisam at ido.org
Thu Apr 26 12:16:04 UTC 2007


You went to

www.site1.com

while you defined site1.com.  I'm not sure if that would work.

Johannes Skov Frandsen wrote:
> Hey
>
> After looking through tons of guides and howtoes I'm still nowhere near
> a working solutions.
>
> I have added the following structure to my sites folder:
>
> /sites/all/modules
> /sites/all/themes
>
> /sites/default/
> /sites/default/files/
> /sites/default/settings.php
>
> /sites/site1.com/files/
> /sites/site1.com/modules/
> /sites/site1.com/themes/
> /sites/site1.com/tmp/
> /sites/site1.com/settings.php
>
> I have created at vhost file for apache2 with the following settings:
>
> <VirtualHost *:80>
> ServerName site1.com
> DocumentRoot "/var/www/localhost/htdocs/drupal/"
> ServerAlias site1.com
>
>    <Directory "/var/www/localhost/htdocs/drupal/">
> Options Indexes FollowSymLinks
> AllowOverride None
>         Order allow,deny
>         Allow from all
> DirectoryIndex index.php
> <FilesMatch "^\.ht">
>     Order allow,deny
>     Deny from all
> </FilesMatch>
>
>    </Directory>
> </VirtualHost>
>
> My problem is that drupal appears to ignore my settings file under
> site1.com. So I get the default site even if i access the site using
> 'www.site1.com'.
>
> Am i missing something obvious here?
>
> All help would greatly be appreciated.
>
> Regards Joe
>
>
>   


More information about the support mailing list