[support] Multisite problems

Victor Trac victor.trac at gmail.com
Thu Apr 26 12:39:45 UTC 2007


You should probably rename your /sites/site1.com to
/sites/www.site1.com if you want to access it via www.site1.com.  That
should make it work for both http://site1.com and
http://www.site1.com.

--Victor

On 4/26/07, Johannes Skov Frandsen <joe at omesc.com> 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
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>


-- 
http://www.victortrac.com


More information about the support mailing list