You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tapas Mishra <mi...@gmail.com> on 2010/05/26 08:27:20 UTC

[users@httpd] Re: apache reverse proxy redirecting to a different port

Sorry I forgot to enable site.
a2ensite every site is up and working.
Thanks all.

On Wed, May 26, 2010 at 11:46 AM, Tapas Mishra <mi...@gmail.com> wrote:
> Hi,
> I am having a few websites running in a Reverse Proxy scenario on
> Ubuntu Server 10.04.
> The configuration is like this
>
> Code:
>                                |--------------192.168.1.1
>                                |            (site1.abc.com)
>                                |
>                                |--------------192.168.1.2
>                                |            (site2.abc.com)
>                                |
>                                |
>                                |
>                                |
>                                |--------------192.168.1.3
>                                |            (site3.abc.com)
>                                |
>                                |
>                                |
>                                |
>                                |--------------192.168.1.4
>                                |            (site4.abc.com)
>  (Public IP )              |
>            A----------------- |
> (reverse proxy server)|
>  (192.168.1.25)         |
>                                |--------------192.168.1.5
>                                |            (site5.abc.com)
>
> Except one all websites are running properly and being redirected to
> their respective domains.
> Following is the configuration which I used
>
> for each site define on server A a vhost file which contains following
> Code:
> #        ProxyPass / http://<Ip of Server>
> #        ProxyPassReverse / http://<Ip of Server>
> So if I have 5 websites then I have 5 vhost file on the gateway in
> above diagram A and in each of those file as above root of site is
> redirected to internal IP.
> 4 of them are running properly.
>
> The fifth website is running on port 8080:/keyword
> So in its vhost file on gateway I defined
>
> Code:
> #        ProxyPass / http://<Ip of Server>:8080/keyword
> #        ProxyPassReverse / http://<Ip of Server>:8080/keyword
>
> I can see on Lan http://<Ip of Server>:8080/keyword
> but when from internet I try to see
> http://site5.abc.com
> I get redirected to a page is
> https://site5.abc.com:8443/
> and it says
>
> Code:
> The webpage at https://site5.abc.com:8443/  might be temporarily down
> or it may have moved permanently to a new web address.
>
>
> The site5.abc.com has a requirement to be run at port 8080 internally
> and it is not a Ubuntu server.(Red Hat based server)
> While rest all are Ubuntu servers including gateway A.
>
> So what can be error what more I need to do?
> --
> Tapas
>



-- 
Tapas

---------------------------------------------------------------------
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