@brondsem Do you have any directions? The only solution, which I came up with, is the "two URL solution". For example: * "/svn/..." and "/git/..." are using allow_access() to check if the repo has anonymous access allowed * If it has no access allowed, it will forbid the access * "/svn/restricted/..." and "/git/restricted/..." are using check_password() to check the user login
Now we can have two scenarios: * easiest: we configure two access URLs for the tools. One with login, one for anonymous * more complex: my reverse proxy is listening on the access denied for "/svn/..." and "/git/...", and redirects automatically. Is this the right track? --- ** [tickets:#8352] Convert ApacheAccessHandler.py from mod_python to mod_wsgi** **Status:** open **Milestone:** unreleased **Labels:** py3 **Created:** Wed Feb 26, 2020 07:54 PM UTC by Dave Brondsema **Last Updated:** Mon Jan 11, 2021 10:41 PM UTC **Owner:** nobody mod_wsgi is how we run the main app, mod_python is very old school and we shouldn't be using it. Recent versions of Ubunut look like they drop support for mod_python anyway rather than supporting it on python3: https://bugs.launchpad.net/ubuntu/+source/libapache2-mod-python/+bug/1735368 Although mod_python does work with python 3, it'd just have to be built manually. --- Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.