17488 Posts in 4473 Topics by 1978 members
|Go to End|
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?
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 ?
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...
27 November 2008 at 11:58pm
Are rewrites enabled on the webserver ?
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.
28 November 2008 at 8:45am Last edited: 28 November 2008 8:46am
Cache is cleared and rewritables is enabled.
Still page not found...
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/)
28 November 2008 at 9:20am
It's working now.
The problem was that in htaccess was written:
and this is changed now in:
Thanks a lot!
|Go to Top|