This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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

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 "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
Similar Threads
[SOLVEDkindof]i'm hosting, now how do i access over internet from non-local computer?
Which IP address is to be given in Listen directive
Confugure Tomcat To Host a Server
Home RMI Server problems
Dynamic IP address and socket programming.