On Fri, 2002-02-22 at 02:14, Chuck Esterbrook wrote:
> On Tuesday 19 February 2002 11:17 am, Ian Bicking wrote:
> > Unfortunately, if you use mod_rewrite these standard mechanisms won't
> > work -- you'll have to undo the rewrite rules in your Python code,
> > which is rather awkward.
> 
> I'm using the mod_rewrite trick and all the various methods for URLs 
> and server side paths and such seem to be working fine. I haven't had 
> to change anything in my application with regards to this.
> 
> Can you give a specific example?

Well, if I do something like:

  RewriteRule /portfolio/(.*) /WK/SomeContext/ShowItem/$1 [L,PT]

Then the standard mechanisms for constructing a URL seem to give
"/WK/SomeContext/ShowItem/whatever" instead of "/portfolio/whatever". 
In the case of a virtual host, the /WK address may not even work.

  Ian



_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to