Moving Drupal Installs
public
group: Los Angeles
vhannon - Wed, 2008-06-25 18:33
Hey all, as I mentioned last night at the LA Drupal group I'm trying to move a Drupal install from a Windows XP box to a Linux box (Fedora Core 8). I'm working in the command line and I've done a mysqldump to a .sql file which I then move to the Fedora box. Both are running the same version of MySQL but as soon as I load the data into the database I get 404 errors when I try to hit the site.
As many of you mentioned last night there should be no issue in moving a database. I'm sure I'm doing something else wrong.
Thanks in advance for any thoughts.
Vaughn

Ical feed
If you're getting 404 errors
If you're getting 404 errors then the problem is at the web server level, not the database. Did you migrate all of your files, too, including Drupal's .htaccess file? If you have Clean URLs turned on, are you sure that your Linux server is set up to support them?
Yup, Apache/.htaccess
It's most definitely either your .htaccess file is missing or is not being respected by Apache. This is a somewhat common issue when migrating.
First, double check you have the .htaccess file in the drupal root.
Second, check if Apache has mod_rewrite ON (this can be done via shell or phpinfo).
Third, check if Apache is set to respect domains' own .htaccess rules. (Apache's httpd.conf)
Aha!
Ok, sorted it out and that last thing was a bit of help. Apache was set to 'AllowOverride None' for .htaccess and we changed that to 'AllowOverride All'
Now we're up an running.
Thanks all!
V
I hear an echo in here. ;)
I hear an echo in here. ;)