Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Scott Chapman <scott_list@mi...> - 2003-10-04 22:52:41
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