I created a localhost install of drupal to test various things. It worked fine. I had both 5.7 and 6.2 working, both with no added content. These exist as:
http://localhost
(6.2)
and
http://localhost:/drupal-5.7
(5.7)
For the 5.7 version, I specified the base url in settings.php (and I looked at the .htaccess file, but all looked OK in there).
I then backed up the online version of the 5.7 database (from rosslaird.com) and restored it to the localhost version. All content appears to be there, but all urls with the basic syntax fail. So,
"http://localhost/durapl-5.7/blog" fails
but
"http://localhost/durapl-5.7/?q=blog" works perfectly. All urls with "?q=" work perfectly; all others result in 404.
This is surely something very simple that I have overlooked. I tried various options in the .htaccess file (uncommenting and commenting various things), but no sucess.
Suggestions are welcome.
Ross
Comments
.htaccess
Do you have the ".htaccess" file in your root?
Doka
Doka
.htaccess
Yes:
Also: all the settings worked before the restore. I also have another .htaccess file (for the 6.2 version) in the directory above. The base url is set for the directory (localhost:/drupal-5.7) in which the above file exists. Also: i was using the secure pages module, and had to remove the folder in which it was placed (since https does not exist on localhost). I don't know if this is a factor.