Support

Site Restoration

#16470 restore site to a test server

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by user76750 on Thursday, 20 June 2013 11:23 CDT

user76750
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5
PHP version: 5.3.15
MySQL version: 5.1.46
Host: (optional, but it helps us help you) svogt.dyndns.org/suzannevogt/site
Akeeba Backup version which took the backup: 3.7.7
Kickstart version used to extract the backup: Kickstart 3.0.7

Description of my issue: I am moving a site from suzannevogt.com to svogt.dyndns.org/suzannevogt/site. It went beautifully, except for the fact that any links on the site no longer work. They are correct links, but I get 404 - not found. I am moving things from a server on godaddy to my development server. All sites on my development server are at svogt.dyndns.org/nameOfSite/site Is there any way to make this work?

Thanks.

nicholas
Akeeba Staff
Manager
Please take a look at https://www.akeebabackup.com/documentation/troubleshooter/prbasicts.html You most likely need to follow the instructions regarding the RewriteBase in .htaccess.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user76750
My problem has been resolved. It was not anything to do with akeeba backup. That worked beautifully. My apache server on my Mac (OS X - mountain lion) was set up incorrectly. After much research and experimentation I finally narrowed it down to the server configuration of mod_rewrite. This link helped me test whether mod_rewrite was actually working even though all of the config files were set properly and it was loaded, etc.:

http://docs.joomla.org/How_to_check_if_mod_rewrite_is_enabled_on_your_server

Running the test (to redirect to joomla.html at joomla.org) showed me that mod_rewrite was not working.

So I decided to make sure that apache was correctly configured for the Mac. I had decided to set up virtual hosts (and not place the site in a subdirectory) just so I could simulate more precisely the environment I was moving the site from. So I looked at:

http://coolestguyplanettech.com/downtown/how-set-virtual-hosts-apache-mac-osx-108-mountain-lion

to verify that the virtual hosts were configured correctly. They were, except for one thing. I noticed that AllowOverride for my server was set to none while the example on the site above was set to "All". After looking that up it turns out that setting AllowOverride to 'none' means to ignore overrides from .htaccess files (which is where SEO/SEF friendly urls are enabled - exactly what was not working)!

Once I changed AllowOverride to 'All' and restarted the server... magic. It was working.

That is all! This ticket can be closed.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!