durusmail: quixote-users: location of other files again
location of other files again
2003-03-26
2003-03-30
location of other files again
Amar Singh
2003-03-26
sorry for the html mail last time...i didnt mean to
here's a repost of my message

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


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus


reply