Julien
jcigar at ulb.ac.be
Wed Jul 6 02:53:32 EDT 2005
On Wed, 2005-07-06 at 02:58 -0300, Gonzalo Sainz-Trápaga wrote: > Hi, Hello > I am developing a web application in Python and I have advanced quite a > bit. I always restart my Apache instance in order to have my modules > reloaded when I modify them. in place of import your_module try apache.import_module("your_module", log=1, autoreload=1), and try the PythonAutoReload configuration directive. > Basically, my problem is I will be hosting the site on shared hosting, > and therefore I can't restart the webserver. I have read that Vampire > provides an alternate way to load modules that will make restarting > Apache unnecesary. > Still, when I browsed the website and navigated through the docs > provided with Vampire, I found myself quite lost with it. > I would like to know if I can install Vampire on a shared hosting > computer to which I don't have root access (and probably just FTP > access), and if it's possible to drop-in Vampire's module reloading > system instead of mod_python's without major rewrites of my code. > If this is possible, I would really appreciate some quick pointers and > directions on how to accomplish this. Basically, some comments on the > code snippet that appears under "Module Importing System" on Vampire's > website would be great. > > Thanks in advance, > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python -- Julien Cigar (jcigar at ulb.ac.be) Belgian Biodiversity Information Facility Université Libre de Bruxelles Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles http://www.bebif.be
|