Web server replica not working in other server

Posted by user761076 on Server Fault See other posts from Server Fault or by user761076
Published on 2012-04-09T16:13:52Z Indexed on 2012/04/09 17:37 UTC
Read the original article Hit count: 229

Filed under:
|

I have a Drupal installation (php+mysql) in a server, and I'm trying to copy this installation to another server with the same configuration, same physical and virtual path, same db configuration, etc.

The thing is, in my new server I get the homepage to work, but not the inner pages, so I guess has something to do with rewrite (mod_rewrite is installed) (both .htaccess are the same).

When I access http://localhost/myweb/content/mypage I get a 404 or a "Forbidden" if I uncomment this in httpd.conf (original httpd.conf does not have this entry):

<Directory path/to/docs">
    DirectoryIndex index.php index.html
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Any clue?

Thank you

© Server Fault or respective owner

Related posts about apache2

Related posts about .htaccess