First of all, congratulations to a decent and very secure web server.
I am new to Hiawatha and have a problem with my following (simple) apache rewrite rule
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*/$ index.php?__route__=$1 [L,QSA]
Quite simple right? not for me. Here is what I've done so far translating it to Hiawatha URL rewriting configuration
UrlToolkit {
ToolkitID = foobar
RequestURI isfile Exit
RequestURI isdir Exit
Match ^/(.*)\?*/$ Rewrite /index.php?__route__=$1
}
It works somehow partially
e.g for :
http://foo.bar/test/
but not e.g for:
http://foo/bar/test/?foo=bar
http://foo/bar/test/?foo=bar&baz=blah
I'm quite desperate here. Any help will be of course highly appreciated. Thanks.
Regards,
Moltkestr19
Hiawatha version: 7.3
Operating System: Ubuntu Server 10.4