Hi,
I have the following lines in my httpd.conf (I use Apache in front of a
JBoss244-Tomcat402 stack):
NameVirtualHost 127.0.0.1
<VirtualHost bookstore>
#...
ServerName bookstore
RewriteRule !^/istore(.*) - [C]
RewriteRule (.*) http://bookstore/istore$1 [P]
#...
</VirtualHost>
I'd like apache to proxy throughput all request that does not have "/istore"
back to the server again. Thus I could call a servlet, JSP without
specifying the webcontext. It really works with one huge drawback. It seems
that cookies are gone when Apache redirects the request internally.
Does anyone know how to configure Apache to be able to both rewrite a url
AND ask tomcat to process it???
Thanks
János
--
Jarecsni, János
MORGAN HILL CONSULTING, Internet Applications Unit
mailto:[EMAIL PROTECTED]
http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>