It's not a secret anymore!
The moose likes Tomcat and the fly likes Apache Tomcat Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache Tomcat Issue" Watch "Apache Tomcat Issue" New topic

Apache Tomcat Issue

Abed Bokaie

Joined: Aug 04, 2006
Posts: 1
I have several websites (PHP managed by Apache2 and JSP managed by Apache2+Tomcat5 connector) on my Fedora4 server sitting behind a router inside out inner-network.
The problem is that whenever I try to access the JSP sites FROM THE OUTSIDE I keep getting the "Forbidden You don't have permission to access / on this server" error, this only happens when we try to access JSP based sites and ONLY from external works perfectly when we access these sites BY NAME from inside the network!!!The problem only accures when we try to access from the OUTSIDE!!!
Our router in configured to map the 80 & 8080 ports to the inner WebServer and our DNS is pointing the names toward the router IP. We are using the RemoteAddrValve but even removing these valves don't help or even Allowing the certain external IP Addresses in teh valves declarations don't help either!!!
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

"Forbidden You don't have permission to access / on this server"
Is this error being generated by Tomcat, ApacheHTTPD, or by something else?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Apache Tomcat Issue
It's not a secret anymore!