Hi guys

I'm using the last svn webware, I having problems with the
AutomaticPathSession stuff. I use to redirect my pages to the webware
context like this:

  RewriteCond  %{REQUEST_URI} !^.*_SID_.*$
  RewriteRule ^(.*)$ /wk/somecontext$1 [L,PT]

This redirect the root to /wk/somecontext a first time, if I set
UseAutomaticPathSession Webware 0.8.1 try to redirect me to
/wk/_SID_=.../somecontext, this make the apache try to redirect to
/wk/_SID_=.../somecontext/wk/somecontext, this is skipped by the
rewrite condition before the rule.

On webware 0.8.1 this works well, in webware from svn this is not
working, webware redirect me to /wk/_SID_=.../somecontext and if I
have cookies enabled it sends me back (redirecting) to
/wk/somecontext... This way it ends sending me to
/wk/somecontext/wk/somecontext...

I think the solution is to check if the user has cookies enabled, is
he has doesn't do nothing but set the session cookie and if he hasn't
the use automatic path session...

Is this a bug or this is the application design? I this is a bug, I
will try to fix it and send a patch to you...

thanks for attention.

-- 
Michel Thadeu Sabchuk
Curitiba - Brasil


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93&alloc_id281&op=click
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to