RE: Configuring Apache Web Server with Tomcat

2009-07-15 Thread Caldarale, Charles R
> From: alee amin [mailto:mailing.list.mail...@gmail.com] > Cc: us...@httpd.apache.org > Subject: Re: Configuring Apache Web Server with Tomcat Don't cross-post. > I want apache httpd running on front and wants to forward the > jsp/servlet requests to tomcat only. I want m

Re: Configuring Apache Web Server with Tomcat

2009-07-15 Thread alee amin
I want apache httpd running on front and wants to forward the jsp/servlet requests to tomcat only. I want my static pages and photos to be processed by apache and want to configure it through mod_ajp I have come up with some settings which actually helped me in forwarding the reqeust to tomcat. Bu

Re: Configuring Apache Web Server with Tomcat

2009-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alee, On 7/15/2009 1:52 AM, alee amin wrote: > I am using Tomcat6 but i could not find any thing to put in Connector > configuration of tomcat file. Can you please help? > - When i said "working fine" .. i meant that JSP pages are viewable if i > brow

Re: Configuring Apache Web Server with Tomcat

2009-07-15 Thread David Smith
Tomcat doesn't by default listen on port 80. I suspect you have Apache Httpd running and that is giving you the "It works!" message. 8009 is _usually_ the AJP connector that can be used by mod_jk to connect httpd to tomcat. Sounds like you've reconfigured it to offer up straight http protocol in

Re: Configuring Apache Web Server with Tomcat

2009-07-14 Thread alee amin
I am using Tomcat6 but i could not find any thing to put in Connector configuration of tomcat file. Can you please help? - When i said "working fine" .. i meant that JSP pages are viewable if i browse at 8009 (the path i mentioned earlier) but if i don't mention the port then it's not working (jsp

Re: Configuring Apache Web Server with Tomcat

2009-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alee, On 7/14/2009 10:44 AM, alee amin wrote: > I am trying to configuring apache webserver with tomcat using AJP but i am > not sure am i doing it right or not. [snip] > > ProxyPass / ajp://localhost:8009/ > ProxyPassMatch ^(/photos/.*\.jpg)$! >

Configuring Apache Web Server with Tomcat

2009-07-14 Thread alee amin
I am trying to configuring apache webserver with tomcat using AJP but i am not sure am i doing it right or not. Here are the steps that i followed - Enabled required module in httpd.conf file LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so - Ad