Mod_security rules for Dokuwiki and Nextcloud
Mod_security is a great tool for security websites. I submited some rulesets for Dokuwiki (here) and Nextcloud/Owncloud (here), and they were merged into the rules, so people can activate them, rather than have to write their own for those platforms.
Dokuwiki Secure Login
In short, it takes this:
And makes sure the login pages submit it instead like this: