Ian,
You have a much better grasp on the
serverSideInfoForRequestNewAlgorithm code than I do. Any chance you can
look into this problem?
Setting ExtraPathInfo=1 so that you use the new algorithm.
Then try to access a URL /WK/foo/bar
The first result I get is that an error trying to import the exception
handler. This is a side effect of the fact that we have recursed too
deep and then called the exception handler and that failed too.Simple
fix for the exception handler problem is just importing the exception
handler in the module rather than where it is needed.
Now, the real problem is that /WK/foo/bar translates back to the default
context of Examples. We walk backwards in Examples until we arrive at
Examples/index.py and call that. Now index.py tries to forward on to
the 'Welcome' page. however the include handling is broken there. The
Welcome tries to be relative to /WK/foo/bar so it looks for /foo/Welcome
which gets cast back to the default context of /Examples/index.py and
hence the recursion begins.
If you use the patch for include URL I have on SF, it helps matters when
you specify '/Welcome' to make it absolute relative to the top level of
the context. Although in this case, I would have expected the
extraURLPath to be set to /foo/bar or something like that. In fact the
/foo/bar is lost. I'm not sure if this last part is a problem.
Anyway, I would appreciate your input on this, as to wether you think
the includeURL fix, combined with changing index.py to
forward('/Welcome'). Or is there something else we should be looking at?
-Stuart-
-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving
your online business a competitive advantage. Test-drive a Thawte SSL
certificate - our easy online guide will show you how. Click here to get
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel
- Re: [Webware-devel] ExtraPathInfo=1 and URL=/WK/foo/bar f... Stuart Donaldson
- Re: [Webware-devel] ExtraPathInfo=1 and URL=/WK/foo/... Ian Bicking
- RE: [Webware-devel] ExtraPathInfo=1 and URL=/WK/foo/... Stuart Donaldson