Quantcast
Channel: Recent posts across whole site
Viewing all articles
Browse latest Browse all 49201

BIG problem after migration to the delicated server

$
0
0

Hi,

I just migrated my 2 sites to delicated servers and I have a big problem with multisiting. When I empty the cache evrything is fine, but when I visit site 1 and 2, all the images and data (menu, not the nodes) are mixed!

Before I was with Bluehost and 2 domain (main domain and addon domain).
My Drupal was in /site directory and addon domain was fowarted to /site derectory directly.
Everything worked just fine.

Now I have a delicated server with virtual servers.

Virtual server 1:

SuexecUserGroup mysite1 mysite1
   ServerName mysite1.com
ServerAdmin admin@mysite1.com
        ServerAlias www.mysite1.com
DocumentRoot /var/www/mysite1
    <Directory />
        Options FollowSymLinks
     AllowOverride All
  </Directory>
<Directory /var/www/mysite1>
     Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      Order allow,deny
       allow from all
</Directory>

   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
     AllowOverride None
     Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
     Order allow,deny
       Allow from all
</Directory>

   ErrorLog ${APACHE_LOG_DIR}/mysite1.com.error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
    LogLevel warn

    CustomLog ${APACHE_LOG_DIR}/mysite1.com.access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory

Virtual Server 2:

ServerName mysite2.com
    ServerAdmin admin@mysite2.com
        ServerAlias www.mysite2.com
DocumentRoot /var/www/mysite1/site
   <Directory />
        Options FollowSymLinks
     AllowOverride All
  </Directory>
<Directory "/var/www/mysite1/site">
     Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      Order allow,deny
       allow from all
</Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
     AllowOverride None
     Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
     Order allow,deny
       Allow from all
</Directory>

   ErrorLog ${APACHE_LOG_DIR}/mysite2.com.error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
    LogLevel warn

    CustomLog ${APACHE_LOG_DIR}/mysite2.com.access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

Thanks for any help!!!


Viewing all articles
Browse latest Browse all 49201

Trending Articles