Community & Support

Site copied to Wamp - Copy is offline - can't access

I have 3 Drupal sites that I have developed but I learned most of it by trial and error.

I recently decided to set up a localhost to try some things out, so
1) I copied all the files into the www folder on Wampserver
2) I backed up the database and copied it into mysql on wamp (I had to install php 5.2 and also create a username and password in mysql to match the one in the original database)

I now get the "site offline" page - it has the header and site name, so it must be accessing the database.

On my real website, I would just add "/user" to the end of the name and then log in. However I get "Not Found - The requested URL /sitename.com/user was not found on this server.

How do I get into the site?

Comments

.

What else does it say under "Site offline"? Any "small print" message about the database?

.

Nothing else- just the "site under maintenance" message that I wrote.

Well, it appears that you do

Well, it appears that you do not have mod_rewrite enabled on your WAMP server. Do this and you should be able to access:

1. Click on the WAMP icon in the system tray
2. Click on Apache
3. Then, in the sub-menu click on Apache Modules
4. Use the small down-arrow key to scroll down the long list of modules, which is alphabetically ordered
5. You will find "rewrite_module"
6. Click on that to enable it.
7. Click on WAMP icon and click Restart All Services

Once it restarts, you should be able to access the /user page.

That worked!

Excellent! That worked! Thanks!

Advertising helps build a successful ecosystem around Drupal.