wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Preventing Apache bridge failure error page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Preventing Apache bridge failure error page" Watch "Preventing Apache bridge failure error page" New topic
Author

Preventing Apache bridge failure error page

Rebeccah Quevedo-Prastein
Greenhorn

Joined: Mar 17, 2011
Posts: 16
Hi,

We are putting tomcat behind apache httpd server for security reasons, and only mapping in apache httpd those URIs that we want to expose to the general public.

Ideally, any other URIs in the context-path that are not mapped, we'd like to return a 404 error page, but right now, users are getting a "Failure of server APACHE bridge" error page. I don't just want to forward everything in the context, although I suppose I could. Would that be the simplest? Forward everything, and any pages that aren't on tomcat will get 404 generated by tomcat; and any unauthorized pages will get authorization failures... or is there a way to specify in apache httpd that unmapped pages should get a 404 error?

I think our INet group is using mod_jk to do the forwarding from apache httpd to tomcat.

Thanks,

Rebeccah


P.S. Does Javaranch have a forum for apache httpd? If so, perhaps this should be posted there...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Preventing Apache bridge failure error page