Hello Fred,
I set the cookie path "/" and it works fine now.
Thanks for the help.
From: fredk2 <[EMAIL PROTECTED]>
Reply-To: users@httpd.apache.org
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache+mod_jk+Tomcat+mod_rewrite+cookie
Date: Fri, 5 Jan 2007 06:34:29
I guess you are not passing the full URL to the servlet, try:
RewriteRule ^/url1(.*) /MyApp/MyServlet$1 [PT]
Cheers, Fred
--
View this message in context:
http://www.nabble.com/Apache%2Bmod_jk%2BTomcat%2Bmod_rewrite%2Bcookie-tf2922976.html#a8178908
Sent from the Apache HTTP Server - Users
Hello,
I notice that because of url rewriting my cookie is not being passed to
Tomcat. This is what I am doing:
I have an HTML page where I set my cookie - username.
Now If I call the servlet directly then cookie gets passed e.g.
/MyApp/MyServlet it works well.
But I have added a redirection a