HI,

I've setup a local AMP stack on Windows consisting of:

Apache 2.4.7 SSL
PHP 5.5.6
mysql Ver 14.14 Distrib 5.1.65, for Win64

I've been working on a site in Pantheon which I have a local cloned to my desktop.

I copied the top level folder from the pantheon site in to my htdocs in Apache.

I've then exported the database from the Pantheon site and created a DB in PHPMyAdmin and imported the Pantheon DB in to that.

I've then referenced the new DB in settings.php.

I've also done all the Apache config work needed to get the site running on a Vhost.

This all works fine and it loads up the front page of the site no problems at all. The problem is that when I click on any of the internal links it just says that the page is not found.

Even example.local/user

cannot be found so I cannot even log in to the site.

All of the data is there as the top level folder is the same size as the on on Patheon.

I've had the same problem with another site I've expoter/imported from Pantheon and I've also had the same problem with a site that I imported from some Lynda.com training exercise files so this is not really a Pantheon issue.

Any advice greatly appreciated.

AndA

Comments

AndA’s picture

So essentially the only page that is working is.

http://example.local/index.php

That is the URL I'm using to access the site locally.

Anything other than that gives an error like:

"Not Found

The requested URL /user was not found on this server."

Thanks again,

Andy

AndA’s picture

Just to say that I've worked it out.

The initial issue was that I did not have index.php in my DirecotyIndex and now the issue is CleanURLs but I'm dealing with that an mod_rewrite issues.

https://drupal.org/node/15365

I hope that may help someone in the future.

Thanks,

AndA