You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Roman Slezak <sk...@hysteria.sk> on 2005/02/01 17:04:29 UTC

[users@httpd] proxy

Hi all.

situation:
internet ---->apache box1 ---> apache box2 (intranet)


what i need to run in apache on box1 to serve client? mod_proxy for each in 
virtual host www.domain.com, www.domain2.com? cause there is:

ProxyPass         /mirror/foo/ http://foo.com/
ProxyPassReverse  /mirror/foo/ http://foo.com/

i dont need that, I need www.domain.com ----> box2
                                    www.domain2.com ---> box2
but when i set:
ProxyPass / http://.192.168.30.2

it always put www.domain2.com to domain1.

Roman

Help me please cause I`m loading gun to end my trouble :D

PS: when i use port redir on BOX1 everything work fine...



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] proxy

Posted by Joshua Slive <js...@gmail.com>.
On Tue, 1 Feb 2005 17:04:29 +0100, Roman Slezak <sk...@hysteria.sk> wrote:
> Hi all.
> 
> situation:
> internet ---->apache box1 ---> apache box2 (intranet)
> 
> what i need to run in apache on box1 to serve client? mod_proxy for each in
> virtual host www.domain.com, www.domain2.com? cause there is:
> 
> ProxyPass         /mirror/foo/ http://foo.com/
> ProxyPassReverse  /mirror/foo/ http://foo.com/
> 
> i dont need that, I need www.domain.com ----> box2
>                                    www.domain2.com ---> box2
> but when i set:
> ProxyPass / http://.192.168.30.2
> 
> it always put www.domain2.com to domain1.

This question really doesn't make any sense to me.  You talk about
box1, box2, domain, domain1, domain2, foo.com, 102.168.30.2, etc, and
it is unclear how all these things relate to each other.  It is also
unclear exactly what configuration you are using, exactly what you
would like to see happen, and exactly what is actually happening.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org