The problem that I see is that it does not appear that you have MyContext, default or test pointing to any valid paths on your system.  Try changing your contexts so that they point to actual paths:
        'Contexts':             {
                'Admin':'%(WebKitPath)s/Admin',
                'Examples':'%(WebKitPath)s/Examples',
                'Testing':'%(WebKitPath)s/Testing',
                'MyContext':'/disk/u/merk/public_html',
                'default':'/disk/u/merk/public_html',
                'test':'/disk/u/merk/public_html',

This would point all three contexts Mycontext, default and test to your public_html folder.
 
Hope this helps
Jose


-------- Original Message --------
Subject: [Webware-discuss] config/context setup question
From: "Ian" <[EMAIL PROTECTED]>
Date: Mon, July 07, 2003 5:20 pm
To: [EMAIL PROTECTED]

I obviously dont quite understand how the context thing works.

Here are the contexts i have set up:

        'Contexts':             {
                'Admin':'%(WebKitPath)s/Admin',
                'Examples':'%(WebKitPath)s/Examples',
                'Testing':'%(WebKitPath)s/Testing',
                'MyContext':'MyContext',
                'default':'MyContext',
                'test':'test',
                                                        },

The actual path i am using is: /disk/u/merk/public_html/ everything is
under there.

Url is server/~merk/

under public_html i have a directory MyContext and i also have a directory
i created called test. Inside test i have a file called test.psp which is
basically just a hello world page.

If i go to the url server/~merk/test/test.psp it instead pulls up the page
in MyContext/Main.py

If i go to the url server/~merk/test/test.psp/test/test.psp then i get my
test page.

Actually, if i go to server/~merk/test/anything.psp/test/test.psp i get my
test page as well.

Can someone give me a clue what i am doing wrong here? Because i'm pretty
sure i'm totally clueless now ;p

Ian



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss
------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to