Hello!
I'm not at all familiar with Apache's htaccess which I do not consider very human-friendly, so in order to (try to) convert set of rewrite rules for Tiki CMS, I use online htaccess --> nginx
converter [winginx.com] (and trying to deduce correct syntax for this forum
).
We're starting simple...Here is htaccess rule:
RewriteRule ^articles$ tiki-view_articles.php [L]
and converted produced the following:
location = /articles {
rewrite ^(.*)$ /tiki-view_articles.php break;
}
and for it I created the following hiawatha rule:
UrlToolkit {
ToolkitID = tiki-articles
Match ^/articles/(.*)$ Rewrite /tiki-view_articles.php
}
but was getting 404 error and I rewrote it to:
UrlToolkit {
ToolkitID = tiki-articles
Match ^/articles(.*)$ Rewrite /tiki-view_articles.php
}
Do you (if you're familiar with either Apache or Nginx rewriting) find the Hiawaths rule is OK or there is room for improvement?