I have a drupal site, here: http://deandi.com/adventure
I am attempting to move it to a new host, here: http://82.110.105.76/deandi.com/adventure/
Clicking on any links at the new location yields this:
"Not Found
The requested URL /home/sites/deandi.com/public_html/adventure/index.php was not found on this server."
The environment analyzer at the old site shows:
DOCUMENT_ROOT = /home/deandi/public_html
SCRIPT_FILENAME = /home/deandi/public_html/cgi-bin/env.cgi
but at the new site:
DOCUMENT_ROOT = /var/www/html
SCRIPT_FILENAME = /home/sites/deandi.com/public_html/env.cgi
Are my "not found" errors at the new site a result of the root and path being different, and if so, is there anything I can do about it? Thanks in advance.
Andi
Comments
Your site does seem to work
Your site does seem to work without clean URLs.
For example http://82.110.105.76/deandi.com/adventure/tracker does not work
but http://82.110.105.76/deandi.com/adventure/?q=tracker works
If clean URLs are enabled, I would disable them and then I would try to find out if .htaccess exists and works, if apache rewrites work, and if Allowoverride All.
Well, it seems you basically
Well, it seems you basically have two problems :
So basically your problem is related to "clean urls". Deactivate it in the admin section and reactivate it once you get clean urls to work again.
Maybe you forgot to upload the ".htaccess" file (it's usually hidden, so maybe you didn't saw it), or maybe drupal stored the old path in it (I haven't looked yet how drupal handles the clean urls, so maybe the path is stored in the htaccess file).
At least for now you can make your site work.
clean urls
Thanks both for the input. .htaccess did make it over in the move, and I was able to disable clean URLs to make things work temporarily until I find out from the host whether or not apache mod_rewrite is enabled. Thanks!