durusmail: quixote-users: location of other files
location of other files
2003-03-25
location of other files
Amar Singh
2003-03-25
i tried posting this to the newsgroup...but it didnt show up, even after
a while...so i appologize if this shows up twice.

im new to quixote and web scripting in general. I have made a command
line
application with python that allows collections of source files to be
searched for identifiers, function calls, class definitions etc. for
various languages. I have also made a web front end for this application
using quixote. I have one problem though. My application is installed as
a
package in the site-packages directory under Lib in the python install
location, much like the quixote demo is. My application uses a metakit
database file to store indexes and other info. The database is also
stored
in the same package as the rest of the modules. My problem is that the
database file has to be copied to my cgi-bin directory for the searches
to
be done from the web (otherwise it is not found). I would like it so
that i
dont have to copy my database to the cgi directory since it is
constantly
changing when i perform indexing. I am not sure if there is something
that
i need to configure with the apache server, quixote, or if there is
something missing from my cgi script.
here is the contents of my script
#!C:\Python22\python.exe
from quixote import enable_ptl, Publisher
enable_ptl()
app = Publisher('sscae')
app.read_config("sscae.conf")
app.setup_logs()
app.publish_cgi()
im using python 2.2 on windows xp pro
quixote 0.5.1
apache server 2.0.44
any help will be much appreciated.
amardeep singh


------------------------------------------------------------------------
Help STOP SPAM with the new MSN 8 [1] and get 2 months FREE*
reply