Pages not displaying since move to new server - HELP!

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
sioux

Pages not displaying since move to new server - HELP!

Post by sioux »

I am in the process of moving 70 sites to a new server. I have managed to backup and reinstall the databases and alter the config.php with no trouble EXCEPT that some sites won't display pages with aliases.

For instance this page http://www.allinfoaboutalternativemedic ... cipes.html won't display

However this site www.allinfoaboutrecipes.com displays all its pages with no problem.

I've fiddled and fussed to the point of tears with configs, htaccess files and have read every post on the subject in this forum! I've even copied and pasted the config.php from the site that works, into the one that doesn't (and changed the paths etc) and that still doesn't work.

I have some sites on the newest version of CMSMS and some on the older version and there doesn't seem to be any difference between them as far as displaying (or not) the pages.

The only variation between this server setup and the old one (both dedicated servers) is that they are hosted as follows:

It is a VPS setup with the primary domain on:

/var/www/html

and the secondary domains on:

/var/www/sitename

whereas they used to all be under /home/public_html

Please help as I only have a few days left on my previous hosting account!!

I don't know if that makes a difference

PLEASE NOTE: I have just double-checked and yes, it is the secondary domains that are causing the problems
Last edited by sioux on Tue May 15, 2007 11:53 am, edited 1 time in total.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Pages not displaying since move to new server - HELP!

Post by tsw »

did you remember to copy .htaccess files too

hint, tar zcvf site.tgz * in cmsms folder does not get the .htaccess file
Pierre M.

Re: Pages not displaying since move to new server - HELP!

Post by Pierre M. »

Hello sioux,
sioux wrote: ...
It is a VPS setup with the primary domain on: /var/www/html
and the secondary domains on: /var/www/sitename
whereas they used to all be under /home/public_html

... it is the secondary domains that are causing the problems
As there is a lack of symetry in the domains setup, may be it is a webserver misconfiguration ?
It may lead to .htaccess differences (as tsw has posted).
Another thing : don't forget the upload/ folder and its content.
Short time tip : make static mirrors (with httrack or so) until you get everything ok on the new hosting.

Pierre M.
sioux

Re: Pages not displaying since move to new server - HELP!

Post by sioux »

Thanks for the reply.

i don't think it's a misconfiguration although we (as server owners) can allocate the folder for the secondary domains into whichever directory we choose.

Perhaps we should have put it somewhere else?

btw - what alterations should I make to the .htaccess for it to work with the directory structure as it is?
Pierre M.

Re: Pages not displaying since move to new server - HELP!

Post by Pierre M. »

Hello again,

if you are using .htaccess only for pretty URLs I don't see a need to alter your previous .htaccess unless you had a special RewriteBase setting.

In the sample htaccess, there is :

Code: Select all

# Make sure you have Options FollowSymLinks
# and Allow on
These are httpd.conf related. This is why I suspected a webserver misconfiguration. May be your working domain has these settings and your asymetric virtualdomain hasn't them and its htaccess response can't be the same.
Try to mimic the configuration of the working domain to the other. Double check config.php paths.

Pierre M.
Locked

Return to “CMSMS Core”