I'm trying to add another piece to my toolkit that I have available in Perl.
I can make Apache use Python to handle authentication. I am wondering if
there's a way to make it so that Spyce's persistent connection to Postgres
can be used for this. Anyone doing this or know how to approach this?
Here's the sample httpd.conf and http://www.py files that I'm using, that doesn't use
Spyce at all:
AuthName "Members Login"
from mod_python import apache
# Dummy reply here. Don't use this in the real world!
pw = req.get_basic_auth_pw()
user = req.user