Also, there's already this WSGI block in loggerhead.main:
else: if protocol == 'fcgi': from flup.server.fcgi import WSGIServer elif protocol == 'scgi': from flup.server.scgi import WSGIServer elif protocol == 'ajp': from flup.server.ajp import WSGIServer else: print 'Unknown protocol: %s.' % (protocol) sys.exit(1)
Could we perhaps just modify that to get direct mod_wsgi support?
« Back to merge proposal
Also, there's already this WSGI block in loggerhead.main:
else:
sys. exit(1)
if protocol == 'fcgi':
from flup.server.fcgi import WSGIServer
elif protocol == 'scgi':
from flup.server.scgi import WSGIServer
elif protocol == 'ajp':
from flup.server.ajp import WSGIServer
else:
print 'Unknown protocol: %s.' % (protocol)
Could we perhaps just modify that to get direct mod_wsgi support?