File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
To identify which websites are made using java technologies such as servlets and jsps
Tomcat installed, runs but get Http Status 404 error
was_ap20_module and REDIRECT_URL
apache (tomcat) not parsing XML file?
HTTP Status 404 error in tomcat