0

So I used composer to make a Drupal 8 build, and it starts the site in the web directory under the directory you put for composer. This is no big deal, I thought if I just put phpmyadmin in the /web directory and changed the DocumentRoot it would solve all the problems. Instead, it does open to the Drupal homepage, but no other subdirectories are allowed. All Forbidden. So I changed the root back to the ../web directory and put phpmyadmin in there and another test subdirectory and it worked fine, only when I went to the homepage Drupal lost all CSS. I put a

RewriteEngine on RewriteCond %{HTTP_HOST} localhost [NC] RewriteCond %{REQUEST_URI} ^/$ RewriteRule ^(.*)$ /web/$1 [L]

.htaccess in the ../web directory. Really any help would be great. I need to be able to use and access the subdirectories while the main site runs on Drupal.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.