I just have Drupal 7 and 8 installed in my localhost on Opensuse Leap. With Drupal 7 I cannot pass the clean urls test, however the site is completely functional. By clicking the links on the menu I can access localhost/drupal7/?q=admin/dashboard
or localhost/drupal7/?q=admin/people
(for example).
In Drupal 8 I can access the front page localhost/drupal8
but when I click some link, for example "Log in", I'm redirected to localhost/htdocs/drupal8/user/login
. And I get an Apache 404 error. I don't understand why the server redirects to another directory when both installations are using the same configuration file.
I already tried all drupal.org apache-related tutorials without success.
Does anybody know how to solve this issue?