17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1567 Views |
-
Website transfer

26 November 2008 at 8:50am
I want to transfer my website to another server.
With the information I have so far, it's enough to do this:
- Copy the files
- Export the mysql table
- Import this dump (and use the same names and acces user)I've done this, but all I get is this: "The requested document was not found on this server. "
Can somebody help me?
-
Re: Website transfer

26 November 2008 at 9:19am
- You also need to check the _config.php vars in the project directory.
- Silverstripe needs a specific .htaccess , did you copy that one as well ? -
Re: Website transfer

27 November 2008 at 7:57am
I've copied all the files and the config files are correct.
Also the config file in mysite is correct, but I still don't see the website... -
Re: Website transfer

28 November 2008 at 12:26am
make sure you clear your silverstripe-cache folder.
I have seen this cause a problem in some transfers.
do a db/build?flush=1 and see what happens. If you have moved your db succesfully it shouldn't try to rebuild all your custom pagetypes.
-
Re: Website transfer

28 November 2008 at 8:45am Last edited: 28 November 2008 8:46am
Cache is cleared and rewritables is enabled.
Still page not found...
-
Re: Website transfer

28 November 2008 at 9:05am
This is most likely because of a RewriteBase problem. Edit the .htaccess file and update the RewriteBase (it should be relative to the server root. Say your URL is http://your-site/silverstripe/, then the RewriteBase should be /silverstripe/)
-
Re: Website transfer

28 November 2008 at 9:20am
Yes!
It's working now.
The problem was that in htaccess was written:
RewriteBase /folder
and this is changed now in:
RewriteBase /
Thanks a lot!
| 1567 Views | ||
|
Page:
1
|
Go to Top |



