Forum

Drupal 8 -Varbase and Hiawatha

HardCoded
3 October 2017, 23:21
I have installed https://www.drupal.org/project/varbase following the instructions. I also have the following toolkit I am using:
UrlToolkit {
ToolkitID = DRUPALMP
Match /sites/default/files/private DenyAccess
Match /sites/default/files/(.*)\.php DenyAccess
Match \.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\..*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock))$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig|\.save)$ DenyAccess
RequestURI isfile Return
Match ^/favicon.ico$ Return
Match /(.*)\?(.*) Rewrite /index.php?q=$1&$2
Match /(.*) Rewrite /index.php?q=$1
}

However when I surf to my page I get this

http://moosepride.com/?q=&q=&q=&q=&q=&q=&q=&q=&q=&q=

This should be using the same rewrites as I have been using for my other Drupal installs, but it doesn't work. Any suggestions on a good starting point.

Love the server!!!

Hugo Leisink
4 October 2017, 00:44
I don't know much about Drupal, but could it be that clean URLs should first be switched on in Drupal before using any rewrite rule?
Joe Schmoe
4 October 2017, 15:00
I installed that Drupal distribution recently to check it out and had the same error. Seems like I had to change the RequestURI config but I can't remember at the moment. Try this:

<code>
RequestURI exists Return
</code>
HardCoded
4 October 2017, 17:22
Joe,

You are the man!!! Thank you!

Hugo, Thanks for the awesome server.
This topic has been closed.