Re: [Webware-discuss] REQUEST_URI vs SCRIPT_URL for HTTPRequest._servletPath

2007-05-25 Thread Christoph Zwerschke
Ben Parker schrieb: > Christoph Zwerschke wrote: >> Ok, now I understand the problem better. Your cookies will probably >> work, but only as long as you stay in the realm of one and the same >> language, right? > yes, but we want the session to follow them when they switch languages. Ok. That ma

Re: [Webware-discuss] REQUEST_URI vs SCRIPT_URL for HTTPRequest._servletPath

2007-05-25 Thread Ben Parker
Christoph Zwerschke wrote on 5/24/07 12:49 PM: > Ok, now I understand the problem better. Your cookies will probably > work, but only as long as you stay in the realm of one and the same > language, right? > yes, but we want the session to follow them when they switch languages. > If you're

Re: [Webware-discuss] REQUEST_URI vs SCRIPT_URL for HTTPRequest._servletPath

2007-05-24 Thread Christoph Zwerschke
Ben Parker wrote: > We're trying to do something sneaky and have the language code be the > first element in the URL, which Apache strips out and sends through to > Webware as a CGI environment variable. That was for search engines to > see the language code as the first element in the URL, rath

Re: [Webware-discuss] REQUEST_URI vs SCRIPT_URL for HTTPRequest._servletPath

2007-05-24 Thread Ben Parker
Christoph Zwerschke wrote on 5/24/07 3:04 AM: > Ben Parker wrote: > >> Example of the problem: >> >> url submitted by the browser: http://mydomain.com/es/path/to/servlet >> url after modification by mod_rewrite: http://mydomain.com/path/to/servlet >> >> REQUEST_URI value : /es/path/to/servlet >

Re: [Webware-discuss] REQUEST_URI vs SCRIPT_URL for HTTPRequest._servletPath

2007-05-24 Thread Christoph Zwerschke
Ben Parker wrote: > Example of the problem: > > url submitted by the browser: http://mydomain.com/es/path/to/servlet > url after modification by mod_rewrite: http://mydomain,com/path/to/servlet > > REQUEST_URI value : /es/path/to/servlet > PATH_INFO value: /path/to/servlet > SCRIPT_URL value: /pa

[Webware-discuss] REQUEST_URI vs SCRIPT_URL for HTTPRequest._servletPath

2007-05-23 Thread Ben Parker
Hello - In HTTPRequest.py, the HTTPRequest._servletPath is initialized from REQUEST_URI, if present in the request env, and then falls back to SCRIPT_URL. This poses a problem for us because we are using apache with mod_rewrite to transform the url before it gets to Webware. Apache does not see