Hi Andi,
Thanks for the reply. My example runs fine when it runs alone (pure python).
Here is the code:
#import sys, os
#sys.path.append("/home/v/workspace/example-project/src/trunk")
#os.environ['DJANGO_SETTINGS_MODULE'] = 'example.settings'
from lucene import Field, Document, initVM, NIOFSDirec
Hi All,
TJ Ninneman's solution has worked. When Python is setup with Mod_WSGI on
Apache2, it is a recommeded to create a WSGI file in the application and
provide it as the root in the Apache2 mod_wsgi settings.
These should be called in the wsgi file at the earliest.
import lucene
lucene.initVM(c
On Tue, 31 Aug 2010, technology inspired wrote:
TJ Ninneman's solution has worked. When Python is setup with Mod_WSGI on
Apache2, it is a recommeded to create a WSGI file in the application and
provide it as the root in the Apache2 mod_wsgi settings.
These should be called in the wsgi file at