logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Tips on tomcat->internal proxy->external proxy
Author
bryank



Joined: 10 Oct 2012
Posts: 1
Location: USA, Seattle

PostPosted: Thu 11 Oct '12 0:39    Post subject: Tips on tomcat->internal proxy->external proxy Reply with quote

Hi,

I am running a tomcat application (Jira), behind an intranet proxy. The intranet proxy is using mod_proxy, and I am using Apache 2.2.

Anyway, I am trying to set up an external proxy to enable some external users access to my Jira application. I was planning to have my external proxy talk to the internal proxy, as opposed to directly talking to the tomcat. The proxies are on different physical hosts, and so is the tomcat.

Right now, I have my external url like so:

https://foobar.foo.net/jira

The internal proxy url is like so:

http://webserver123.foo.net/jira --> this points via mod proxy to something like:

http://tomcatserver123.foo.net:8080/jira

The tomcat server has '/jira' in the context. Currently the connector section is not being used.

Anyway, when I try to hit the external proxy, the internal proxy url pops up all over the place -- and I get URL mismatch errors (https vs http).

So -- I need general tips on how get the external url to resolve correctly, and 2. to have the https hop over to http internally.

Hope that made sense. I can provide more info if necessary.
Back to top
cbj4074



Joined: 02 Nov 2012
Posts: 24
Location: United States

PostPosted: Wed 07 Nov '12 17:08    Post subject: Reply with quote

I have no experience with proxying, but proxy-related issues are discussed frequently on the Apache HTTPd Users mailing list. There are a number of proxy experts on that list, so perhaps try there next.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7355
Location: Germany, Next to Hamburg

PostPosted: Wed 07 Nov '12 23:54    Post subject: Reply with quote

You can setup two reverse proxies. Since the path is the same it should work fine.

Can you please post the exact error message?
Back to top


Reply to topic   Topic: Tips on tomcat->internal proxy->external proxy View previous topic :: View next topic
Post new topic   Forum Index -> Apache