• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache-tomcat integration issue using mod_proxy connector

 
manoj r patil
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am using mod_proxy connector to integrate apache 2.2.3 with tomcat 5.5.

I am using some secured pages in our application stored at tomcat. I could able to configure http and SSL so that my request at port 80 and 443 are getting redirected to tomcat properly.

But I am facing one issue: there are some pages which are hard coded under security-constraint in applications web.xml. So if someone requests for anyone of these pages, the request will automatically be served on SSL. This mechanism is not working in our case and the request gets treated as normal http request and browser says �Internet Explorer can not display this webpage�.

It seems that my requests are reaching to tomcat via apache but somehow it is unable to return the response back from tomcat if the entry is in web.xml (mapped using url-pattern).

Can anyone give some pointers/comments? Also let me know in case anybody faced similar problems and knows workaround
 
manoj r patil
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I forgot to mention one important thing:
Tomcat and Apache are both on the same machine and only port 80 and 443 are open for access through SSL VPN.

If I tried to configure the same thing on local machine, it works but whenever it is SSL request, it automatically changes the port to 8443 and returns the correct response.

This problem is only with 443 port and 80 port is perfectly mapped to 8080 and I always see the request and response pages of http on port 80.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic