On 17/11/2009 19:11, Neil Aggarwal wrote:
Jeffrey:

Recently, I used the cheap and easy http redirects from my apache
server to my tomcat
server.  I ran into two issues, that I hope someone is able to guide
me to a better solution

I think you need to use mod_jk.  That will allow
you to use connections to port 80 and 443 for
both apache and tomcat and you wont have to use
redirects.

Umm, no.

mod_proxy is suitable.  You just need to sort out your config.
One simple approach would be to rename your webapp, from jspui to ROOT.

The redirect you've employed is the source of the problem, you're using the wrong command. Read the docs for more info:

 http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

You can use mod_redirect in conjunction with mod_proxy:

 RewriteRule ^/(.+)\.jsp(.+)?  ajp://host/$1.jsp$2  [P,L]

or

 ProxyPass    /                ajp://host/


p



--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your tomcat app on a CentOS VPS for only $25/month!
Unmetered bandwidth, 7 day no risk trial, Google Checkout


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to