I wanted to try Wallabag: https://wallabag.org/en
Rewrite rules and regular expressions are still feeling like magic to me, but after looking through the Urltoolkit collections from the HOWTO, I found that some parts of Wallabag rewrite rules were like those of Cakephp.
As far as I have tested (saving articles, saving articles behind a paywall and reading them), with this Urltoolkit, Wallabag is working fine with Hiawatha as a webserver:
ToolkitID = wallabag
RequestURI exists Return
Match ^/bundles Return
Match .* Rewrite /app.php
I don’t know if the other parts of Wallabag rewrite rules are covered by this Urltoolkit or Hiawatha itself. Those rules are on this page: https://doc.wallabag.org/en/admin/installation/virtualhosts.html
I have two questions :
- Does Hiawatha need a rule to replace Options -MultiViews? I don’t think so, because in all the topics about Rewrite rules mentioning this option, it was never specified inside an Hiawatha toolkit (but I’m not sure).
- Is [code]Match ^/bundles Return[code] disabling the rewrite rules for the bundles directory ? It doesn’t seem important but I wanted to try to cover all rules.