403 forbidden error when moving to new server.
Posted: Fri Mar 07, 2014 3:37 am
Hello,
I have gone through the process of moving a store from one server company to another. I moved the files using tar.gz and scp and preserved the file permissions. I created new databases and imported the tables. I changed the two config files. I am using Dreamhosts mirror to view the site before I switch the DNS so that I can avoid down time: http://shop-ornaments.dreamhosters.com/
The problem is that i get this error: Forbidden
You don't have permission to access /control_area_orna/index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Dreamhost has suggested that it is either a permission error or an htaccess error. If I temporarily remove the .htaccess file I get this:
Warning: require_once(/nfs/c06/h06/mnt/86983/domains/shop.ornaments.com/html/system/startup.php): failed to open stream: No such file or directory in /home/ornaments/shop.ornaments.com/index.php on line 21
Fatal error: require_once(): Failed opening required '/nfs/c06/h06/mnt/86983/domains/shop.ornaments.com/html/system/startup.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/ornaments/shop.ornaments.com/index.php on line 21
I see in that warning that require_once is pointing to the old file format. I have to find where that is and change it, but I am wondering if there is another problem?
I have gone through the process of moving a store from one server company to another. I moved the files using tar.gz and scp and preserved the file permissions. I created new databases and imported the tables. I changed the two config files. I am using Dreamhosts mirror to view the site before I switch the DNS so that I can avoid down time: http://shop-ornaments.dreamhosters.com/
The problem is that i get this error: Forbidden
You don't have permission to access /control_area_orna/index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Dreamhost has suggested that it is either a permission error or an htaccess error. If I temporarily remove the .htaccess file I get this:
Warning: require_once(/nfs/c06/h06/mnt/86983/domains/shop.ornaments.com/html/system/startup.php): failed to open stream: No such file or directory in /home/ornaments/shop.ornaments.com/index.php on line 21
Fatal error: require_once(): Failed opening required '/nfs/c06/h06/mnt/86983/domains/shop.ornaments.com/html/system/startup.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/ornaments/shop.ornaments.com/index.php on line 21
I see in that warning that require_once is pointing to the old file format. I have to find where that is and change it, but I am wondering if there is another problem?