• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Apache-tomcat integration issue using mod_proxy connector

 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic