I'm using GetSimple CMS but I'm having trouble converting the htacces to url toolkit.
This is the rewrite line from the htaccess file:
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
I've converted it to this:
UrlToolkit {
ToolkitID = getsimple
Match .xml DenyAccess
RequestURI exists Return
Match /?([A-Za-z0-9_-]+)/?$ Rewrite /index.php?id=$1
}
But when testing it with wigwam it does not work completely.
wigwam -t getsimple
Using /etc/hiawatha
Reading hiawatha.conf
===[ URL toolkit tester
Use empty input to leave the program.
url: /test/
new: /index.php?id=test
url: /test/test2
new: /test/index.php?id=test2
url:
If the url has 1 part (/test) everything works. If the url has 2 or more parts (/test/test2) it goes wrong. See how /test goes before index.php.
It should be /index.php?id=test2
But I can't figure out what I'm doing wrong.
Hiawatha version: 9.1
Operating System: Debian 7.1 32 Bit