OK here are my directives:
WSGIProcessGroup %{GLOBAL}
WSGIApplicationGroup %{GLOBAL}
WSGIImportScript /data/search/modwsgi/loaddb.py process-group=%
{GLOBAL} application-group=%{GLOBAL}
WSGIScriptAlias /search/modwsgi /data/search/modwsgi/ipcsearch.wsgi
<Directory /data/search/modwsgi>
Order allow,deny
Allow from all
</Directory>
loaddb.py:
import cPickle
ipcindex = cPickle.load(open('/data/search/20080401.db'))
Know what do I need to add to my wsgi app to make it use of the
ipcindex variable ?
I get this:
NameError: global name 'ipcindex' is not defined
Olivier
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---