Re: [Webware-discuss] mod_webkit on apache2 on x86_64

Top Page
Author: Matt Feifarek
Date:  
To: Discussion of Webware for Python including feedback and proposals.
Subject: Re: [Webware-discuss] mod_webkit on apache2 on x86_64
On 10/26/07, Christoph Zwerschke <cito@???> wrote:
>
> One thing you should do is create a new working directory with
> makeAppWorDir. If you start an empty working directory, you should get
> the Example and Test contexts. Does this work? Then copy your servlets
> to that new working directory and change the config appropriately.
>


Thanks, Christoph.

This does indeed work.

So there must be some other corruption of the config files. And sure enough
I found the offensive bit. In my contexts area in Application.config, I had
something like this:

Contexts = {}
approot = '/data/apps'
Contexts['pp'] = approot + 'pp/us/servlets'
Contexts['sp'] = approot + 'sp/servlets'
Contexts['default'] = Contexts['sp']

Assuming that Contexts was a dictionary, I assigned the value of 'default'
to the value of 'sp'. In the example config from a clean workdir, it looks
more like this:

Contexts['default'] = 'sp'

SO, I guess that 'default' has some special logic behind it to look up
another key. That's a new one for me.

Thanks for your troubleshooting help!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/_______________________________________________
Webware-discuss mailing list
Webware-discuss@???
https://lists.sourceforge.net/lists/listinfo/webware-discuss