Jerry Malcolm wrote:
> Thanks, Tim. But that wasn't the problem. I've figured out what's
> happening. But I'm even more confused about how to move forward knowing
> that now.
>
> I've got a relatively simple situation. I have three pages that I am
> mapping to clean URLs in httpd mod_rewrite.
>
> /cart = /order/jsp/guest/cart.jsp
> /locateaccount = /order/jsp/guest/locateaccount.jsp
> /checkout = /order/jsp/guest/checkout.jsp
>
> I looked at my firefox cookies, and I have a cookie for /order. It makes
> sense that /order would be the cookie that's sent back from TC, since
> that's the URL that TC sees. It's obvious to me now that when Firefox
> requests the page "/locateaccount" it has no cookie to send for
> "/locateaccount", since the cookie it should be sending is labeled
> "/order", and firefox has no knowledge of the /order prefix
>
> OK, it's clear what's happening. But am I just out of luck? My client has
> requested clean URLs. But this has been nothing but a headache from the
> start.
>
> Am I missing something really obvious?
Maybe. Unless I am mistaken, in mod_rewrite (or mod_proxy), there are directives to
rewrite cookie paths too, in the response coming from Tomcat and before they get forwarded
back to the browser.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|