[Tilecache] Running two instances of tilecache conflicts in apache with mod_python

Guillaume Sueur no-reply at neogeo-online.net
Tue Dec 16 04:26:21 EST 2008


Hi,

Can't it be solved by using the PythonInterpreter option in apache, like
for running multiple instances of Django for instance :
 <Location "/something">
        SetEnv DJANGO_SETTINGS_MODULE mysite.settings
        PythonInterpreter mysite
    </Location>

    <Location "/otherthing">
        SetEnv DJANGO_SETTINGS_MODULE mysite.other_settings
        PythonInterpreter othersite
    </Location>

?

Regards

Christopher Schmidt a écrit :
> On Mon, Dec 15, 2008 at 01:44:23PM -0500, chris marx wrote:
>> or is it related this?
>> http://www.nabble.com/mod_python-and-multiple-services-issue-td17618811.html
> 
> Probably so: The fix for that is in SVN, and will be in the
> soon-to-be-released 2.10, so you might try svn and report back if it
> doesn't help.
> 
>> On Mon, Dec 15, 2008 at 1:26 PM, chris marx <chrismarx at gmail.com> wrote:
>>
>>> I had a app folder name "tilecache", which was working fine. I wanted to be
>>> able to have a test instance of tilecache, so i grabbed a fresh copy and put
>>> in the app folder under "tilecache-test". this is a separate directory from
>>> the first. Now however, when I hit a link that's should go to the
>>> "tilecache" app (e.g. myserver/tilecache/tilecache.py/etc), I get back an
>>> error, because the layer is not found, and in the listed layers, it lists
>>> the layers I've included in my "tilecache-test" app.
>>> Is there something global that tilecache uses that prevents 2 versions from
>>> being run on the same server? could it have anything to do with the
>>> interpreter?
>>>
>>> http://www.modpython.org/live/mod_python-3.2.5b/doc-html/pyapi-interps.html
>>>
>>> thanks!
>>> chris-
>>>
>>> --
>>>
>>> Chris Marx
>>> Programmer/Analyst
>>> Cornell Lab of Ornithology
>>> 159 Sapsucker Woods Rd.
>>> Ithaca, NY 14850
>>> t. 1.607.254.1142
>>> http://www.birds.cornell.edu/
>>>
>>
>>
>> -- 
>>
>> Chris Marx
>> Programmer/Analyst
>> Cornell Lab of Ornithology
>> 159 Sapsucker Woods Rd.
>> Ithaca, NY 14850
>> t. 1.607.254.1142
>> http://www.birds.cornell.edu/
> 
>> _______________________________________________
>> Tilecache mailing list
>> Tilecache at openlayers.org
>> http://openlayers.org/mailman/listinfo/tilecache
> 
> 



More information about the Tilecache mailing list