My suggestions were based just on reading the documentation, I haven't actually 
tried anything.  So I'm not too surprised that they didn't work out.

I guess 2 URLs is the simplest way to make it work with mod_wsgi.  I think 
simple is better than trying to deal with a proxy.

Another idea though is what if we just kept using mod_python?  If it is already 
working nicely, is it really beneficial to switch to mod_wsgi?  I thought it 
would be good to switch, because mod_python is not popular any more and wsgi is 
more standard.  But it really seems to be better in this case, and then we 
wouldn't have to make extra changes.  At some point we'd want to run mod_python 
with python 3 and that would require compiling from source but it seems that it 
is maintained at https://github.com/grisha/mod_python/ and probably wouldn't be 
too hard to do in Docker.


---

** [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:** Fri Feb 12, 2021 11: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.

Reply via email to