You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Ingo <in...@gmx.net> on 2021/01/12 23:19:38 UTC

[allura:tickets] Re: #8352 Convert ApacheAccessHandler.py from mod_python to mod_wsgi

Yes, exactly those functions.

"allow_acces" can only return OK or Forbidden. Unauthorized is not possible
with WSGI, as far as I saw from the mod_wsgi source.

I have no idea what the best solution will be.

Maybe we should live with different URLs for anonymous and for authorized
access? Because this would work with WSGI.

Or should we use a reverse proxy, which is doing the authentication and
permission checks!?

Any more ideas? ;)

>



---

** [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.