Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Reverse proxy help

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache Logs - newbie  
Author Message
lumiya

External


Since: Feb 23, 2004
Posts: 3



(Msg. 1) Posted: Mon Feb 23, 2004 11:49 am
Post subject: Reverse proxy help
Archived from groups: alt>apache>configuration (more info?)

I am trying to setup a reverse proxy using apache 2048. I have 1
server inside our network named "websvr" that is only connected to our
internal lan. The reverse proxy is connected to the internet with a
static IP number and also the internal lan. From the reverse proxy, I
am able to reach the internal websvr.

The internal websvr has a java application that listens on port 9000

I have tried using ProxyPass and ProyPassReverse configured as the
following:

ProxyPass / http://websvr/
ProxyPassReverse / http://websvr/

Using this setup, I have been able to reach the internal websvr from
outside the network, but when I lauch the java application it is
unable to connect on port 9000.

I have also tried using virtual hosts, but was not able to even reach
the login page that I could using ProxyPass and ProxyPassReverse.

Here is how I setup the virtual host:

NameVirtualHost 24.106.83.131:80
NameVirtualHost 24.106.83.131:9000

<VirtualHost 24.106.83.131:80>
ServerName 192.168.2.30:80
</Virtualhost>


<VirtualHost 24.106.83.131:9000>
ServerName 192.168.2.30:9000
</Virtualhost>

Where NameVirtualHost is my public IP#'s and ports, and ServerName is
the IP number of the websvr on the lan.

I am new to apache, so any help would be greatly appreciated.

 >> Stay informed about: Reverse proxy help 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Mon Feb 23, 2004 9:38 pm
Post subject: Re: Reverse proxy help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Michael <lumiya DeleteThis @yahoo.com> wrote:
 > The internal websvr has a java application that listens on port 9000

Why don't you use a connector to 'serve' the Java Application trought
Apache itself?

Davide

--
| Law of the Perversity of Nature: You cannot successfully determine
| beforehand which side of the bread to butter.
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Reverse proxy help 
Back to top
Login to vote
lumiya

External


Since: Feb 23, 2004
Posts: 3



(Msg. 3) Posted: Tue Feb 24, 2004 9:54 am
Post subject: Re: Reverse proxy help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Davide Bianchi <davideyeahsure.TakeThisOut@onlyforfun.net> wrote in message news:<c1dhb5$1gs8cf$3@ID-18487.news.uni-berlin.de>...
 > Michael <lumiya.TakeThisOut@yahoo.com> wrote:
  > > The internal websvr has a java application that listens on port 9000
 >
 > Why don't you use a connector to 'serve' the Java Application trought
 > Apache itself?
 >
 > Davide

Could you point me in the right direction for documentation on setting
up something like this? I didn't find anything within apache
documentation for connectors.

Thanks,
Mike<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Reverse proxy help 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 4) Posted: Tue Feb 24, 2004 5:57 pm
Post subject: Re: Reverse proxy help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Michael <lumiya.RemoveThis@yahoo.com> wrote:
 > Could you point me in the right direction for documentation on setting
 > up something like this? I didn't find anything within apache
 > documentation for connectors.

I assume that your "java application" run on something like tomcat,
since is responding on http, then check the documentation of the
application server you are using. If it's tomcat 4.x the connector
is jk2. You'll find it on the jakarta.apache.com site.

Davide

--
| If you live in a country run by committee, be on the committee. --
| Graham Summer
|
|<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Reverse proxy help 
Back to top
Login to vote
lumiya

External


Since: Feb 23, 2004
Posts: 3



(Msg. 5) Posted: Wed Feb 25, 2004 9:00 am
Post subject: Re: Reverse proxy help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Davide Bianchi <davideyeahsure.TakeThisOut@onlyforfun.net> wrote in message news:<c1fooo$1g2l0t$1@ID-18487.news.uni-berlin.de>...
 > Michael <lumiya.TakeThisOut@yahoo.com> wrote:
  > > Could you point me in the right direction for documentation on setting
  > > up something like this? I didn't find anything within apache
  > > documentation for connectors.
 >
 > I assume that your "java application" run on something like tomcat,
 > since is responding on http, then check the documentation of the
 > application server you are using. If it's tomcat 4.x the connector
 > is jk2. You'll find it on the jakarta.apache.com site.
 >
 > Davide

The java app runs on Oracle 9i Application Server. I found a j2ee
connector, is this what I need?<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Reverse proxy help 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 6) Posted: Wed Feb 25, 2004 5:15 pm
Post subject: Re: Reverse proxy help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Michael <lumiya DeleteThis @yahoo.com> wrote:
 > The java app runs on Oracle 9i Application Server. I found a j2ee
 > connector, is this what I need?

I think so. AFAIK Oracle is distributing his own version of Apache
(or sort of), check the documentation that came with it.

Davide

--
| Did you know that if you took all the economists in the world and
| lined them up end to end, they'd still point in the wrong direction?
|
|<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Reverse proxy help 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
ftp proxy reverse - Hello! Some one can help me about Ftp proxy reverse on Apache 2? Thank you

Apache 2.0.48 and reverse proxy - Hi, I am not able to setup reverse proxies using the following script in Apache 2.0.48 because of directive problems. I have to set up two reverse proxies for my webserver running on two different ports. What changes do I need to make it running on..

reverse proxy + https - Can you help please? Is it possible to configure Apache to act as a reverse proxy (maybe the name is not appropriate) for https traffic? I've been able to set up Apache as reverse proxy (mod_proxy, mod_rewrite) and SSL server (with apache_ssl or mod_ssl...

reverse proxy configuration - Hello, I'm using Stronghold 4.0 (Apache 1.3.22) as a reverse ssl proxy with the following configuration: <VirtualHost _default_:443> # General setup for the virtual host #DocumentRoot "/usr/local/stronghold/www/htdocs" #ServerName ww...

mod_rewrite and reverse proxy ftp - Hello I have 2 problems. First someone can say me how do ftp reverse proxy wtih Apache 2 please. Two i have done http proxy reverse on apache 2 but i would like add rules with mod_rewrite. Mod_rewrite work if i don't use proxy reverse but else it's..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]