[support] How to move a Drupal site below the domainroot folder?

Metzler, David metzlerd at evergreen.edu
Tue Apr 8 14:59:12 UTC 2008


If you set the base url in settings.php you should not need to modify
the .htaccess file. 

Dave

-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Earnie Boyd
Sent: Tuesday, April 08, 2008 5:06 AM
To: support at drupal.org
Subject: Re: [support] How to move a Drupal site below the domainroot
folder?

Quoting Albert Cuesta <acuesta at gmail.com>:

> As part of a Drupal 5.x to 6.x upgrade, I have moved my Drupal site to
> a folder below the HTML root level of my server, so now it's at
> public_html/drupal6 instead of public_html as before.
>

Is there a reason why you can't update the httpd.conf for the site so 
that the DocumentRoot is public_html/drupal6 instead of public_html?

> Now the site stopped working beyond the front page: users can login
> but cannot logout, all links display an unthemed front page, and so on
>
> Can somebody explain the required configuration of .htaccess (for the
> domain root and the drupal6 folder) and settings.php so the site works
> again? I think I have already tried everything in the handbook and
> readme :-(
>

Cache tables, sessions table probably need to be truncated.  Browser 
caches may need to be emptied as well.  Did you change the RewriteBase 
in the .htaccess file?

Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/

-- 
[ Drupal support list | http://lists.drupal.org/ ]


More information about the support mailing list