This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes URL Redirection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "URL Redirection" Watch "URL Redirection" New topic

URL Redirection

kamal kumar sharma

Joined: Jul 26, 2011
Posts: 9

I am facing an issue which i have explained below.

I am working on an application,which interact with any external application as below.

External application ------> Apache1 ----------> JOnAS Server(On which application is running)

In application level we have managed a IP Filtering code ,to verify the request is coming from Apache1 for security reason.

Now we have to migrate the application request flow as per our client demand into new structure below.

External application ------> Apache1 ---------->Apache2 --------> JOnAS Server(On which application is running)

Here the basic flow is any external application request to the Apache1 then it forward to Apache2 which further redirect to JONAS. Now our IP filtering in code level fails as it does not get the request from Apache1 now but from Apache2. I just want to know is it possible to rediect the request as per above structure without modifying the code level filter.
I mean
How do i validate whether the request is coming from Apache1?.
Is there any Apache level filtering or URL rewriting possible?

Thanks for your help.

I agree. Here's the link:
subject: URL Redirection