Moving Document Root

Permalink
Hello,

The drive where I have my document root is getting full. I need to move my C5 sites to a different location.

Currently for example /var/www/html/site1 (Default for Apache)
Needs to move to /fs1/c5sites/site1 (New location)

I have deleted and disable cache.
Turned off pretty urls.
Copied the site with permissions to the new location /fs1/c5sites/site1/
Changed the virtual server Document Root location in Apache to /fs1/c5sites/site1/
Applied changes
Edited config/site.php to make sure it is correct

<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'user');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'ftgibson');
define('BASE_URL', 'http://sandbox.ftgibson.k12.ok.us');
define('DIR_REL', '');
define('PASSWORD_SALT', 'B2ZIc1QVMsW05uz1Ns7uQr4iGj8s2YSRVhC6VTcvB6LisrRV4O23A9GLyLchP3j7');
define('PERMISSIONS_MODEL', 'advanced'); ?>

Copied .htaccess to the new location
Turned back on pretty urls

I can access the home page but can not navigate site.
I get 404 Not Found.

Any help would be appreciated.

 
bmcguire replied on at Permalink Reply
Any help on this one? Still does not work.

?????
liangk replied on at Permalink Reply
I copied all files with "cp -pr source/* desc" to preserve file mode and ownership.
It works.
(don't forget .htaccess)