I checked out a copy of tilecache from svn, and placed it in apache, but the existing older version of tilecache still picked up the tilecache.cfg options from the second instance. I don't know much about pythoninterpeters, nor did I know that solution would work, so I was wondering whether someone could confirm that the interpreter option could work, and perhaps show an example specifically for tilecache-<div>
chris-<br><br><div class="gmail_quote">On Thu, Dec 18, 2008 at 9:56 AM, Christopher Schmidt <span dir="ltr"><<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On Thu, Dec 18, 2008 at 09:37:22AM -0500, chris marx wrote:<br>
> anyone care to take a stab at this? I don't have another test environment<br>
> yet, so I'd have to redeploy my production instance of tilecache. So i can't<br>
> test from trunk quite yet, maybe over the holidays-<br>
<br>
</div>Not sure what you mean by 'take a stab at this'? You were given two<br>
reasonable options; one requires a new version of TC (though you don't<br>
need another test environment, really just plop it down somewhere and<br>
put it in PythonPath and make a new Location block), the other just<br>
requires apache config changing. What are you looking for?<br>
<br>
-- Chris<br>
<div><div></div><div class="Wj3C7c"><br>
> On Tue, Dec 16, 2008 at 4:26 AM, Guillaume Sueur <<a href="mailto:no-reply@neogeo-online.net">no-reply@neogeo-online.net</a><br>
> > wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > Can't it be solved by using the PythonInterpreter option in apache, like<br>
> > for running multiple instances of Django for instance :<br>
> > <Location "/something"><br>
> > SetEnv DJANGO_SETTINGS_MODULE mysite.settings<br>
> > PythonInterpreter mysite<br>
> > </Location><br>
> ><br>
> > <Location "/otherthing"><br>
> > SetEnv DJANGO_SETTINGS_MODULE mysite.other_settings<br>
> > PythonInterpreter othersite<br>
> > </Location><br>
> ><br>
> > ?<br>
> ><br>
> > Regards<br>
> ><br>
> > Christopher Schmidt a écrit :<br>
> > > On Mon, Dec 15, 2008 at 01:44:23PM -0500, chris marx wrote:<br>
> > >> or is it related this?<br>
> > >><br>
> > <a href="http://www.nabble.com/mod_python-and-multiple-services-issue-td17618811.html" target="_blank">http://www.nabble.com/mod_python-and-multiple-services-issue-td17618811.html</a><br>
> > ><br>
> > > Probably so: The fix for that is in SVN, and will be in the<br>
> > > soon-to-be-released 2.10, so you might try svn and report back if it<br>
> > > doesn't help.<br>
> > ><br>
> > >> On Mon, Dec 15, 2008 at 1:26 PM, chris marx <<a href="mailto:chrismarx@gmail.com">chrismarx@gmail.com</a>><br>
> > wrote:<br>
> > >><br>
> > >>> I had a app folder name "tilecache", which was working fine. I wanted<br>
> > to be<br>
> > >>> able to have a test instance of tilecache, so i grabbed a fresh copy<br>
> > and put<br>
> > >>> in the app folder under "tilecache-test". this is a separate directory<br>
> > from<br>
> > >>> the first. Now however, when I hit a link that's should go to the<br>
> > >>> "tilecache" app (e.g. myserver/tilecache/tilecache.py/etc), I get back<br>
> > an<br>
> > >>> error, because the layer is not found, and in the listed layers, it<br>
> > lists<br>
> > >>> the layers I've included in my "tilecache-test" app.<br>
> > >>> Is there something global that tilecache uses that prevents 2 versions<br>
> > from<br>
> > >>> being run on the same server? could it have anything to do with the<br>
> > >>> interpreter?<br>
> > >>><br>
> > >>><br>
> > <a href="http://www.modpython.org/live/mod_python-3.2.5b/doc-html/pyapi-interps.html" target="_blank">http://www.modpython.org/live/mod_python-3.2.5b/doc-html/pyapi-interps.html</a><br>
> > >>><br>
> > >>> thanks!<br>
> > >>> chris-<br>
> > >>><br>
> > >>> --<br>
> > >>><br>
> > >>> Chris Marx<br>
> > >>> Programmer/Analyst<br>
> > >>> Cornell Lab of Ornithology<br>
> > >>> 159 Sapsucker Woods Rd.<br>
> > >>> Ithaca, NY 14850<br>
> > >>> t. 1.607.254.1142<br>
> > >>> <a href="http://www.birds.cornell.edu/" target="_blank">http://www.birds.cornell.edu/</a><br>
> > >>><br>
> > >><br>
> > >><br>
> > >> --<br>
> > >><br>
> > >> Chris Marx<br>
> > >> Programmer/Analyst<br>
> > >> Cornell Lab of Ornithology<br>
> > >> 159 Sapsucker Woods Rd.<br>
> > >> Ithaca, NY 14850<br>
> > >> t. 1.607.254.1142<br>
> > >> <a href="http://www.birds.cornell.edu/" target="_blank">http://www.birds.cornell.edu/</a><br>
> > ><br>
> > >> _______________________________________________<br>
> > >> Tilecache mailing list<br>
> > >> <a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
> > >> <a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
> > ><br>
> > ><br>
> > _______________________________________________<br>
> > Tilecache mailing list<br>
> > <a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
> > <a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
><br>
> Chris Marx<br>
> Programmer/Analyst<br>
> Cornell Lab of Ornithology<br>
> 159 Sapsucker Woods Rd.<br>
> Ithaca, NY 14850<br>
> t. 1.607.254.1142<br>
> <a href="http://www.birds.cornell.edu/" target="_blank">http://www.birds.cornell.edu/</a><br>
<br>
> _______________________________________________<br>
> Tilecache mailing list<br>
> <a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
> <a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
<br>
<br>
</div></div><font color="#888888">--<br>
Christopher Schmidt<br>
MetaCarta<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Tilecache mailing list<br>
<a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br>Chris Marx<br>Programmer/Analyst<br>Cornell Lab of Ornithology<br>159 Sapsucker Woods Rd.<br>Ithaca, NY 14850<br>t. 1.607.254.1142<br><a href="http://www.birds.cornell.edu/">http://www.birds.cornell.edu/</a><br>
</div>