LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-26-2010, 12:19 AM   #1
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Rep: Reputation: 38
apache reverse proxy redirecting to eucalyptus cloud on ubuntu settings confusion


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?

Last edited by tkmsr; 05-26-2010 at 12:21 AM.
 
Old 05-26-2010, 01:34 AM   #2
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 38
Sorry I forgot to enable the site just checked.Thanks every one.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: GroundWork, Eucalyptus Team Up on Open Source Cloud Management LXer Syndicated Linux News 0 04-09-2010 02:50 AM
LXer: Open Source Eucalyptus Cloud Goes Commercial LXer Syndicated Linux News 0 04-30-2009 03:00 AM
LXer: EUCALYPTUS: a Tree Growing in the Cloud LXer Syndicated Linux News 0 03-17-2009 01:00 AM
LXer: RightScale Teams With Eucalyptus for Cloud Solutions LXer Syndicated Linux News 0 11-04-2008 10:51 PM
apache reverse proxy wildbob Linux - Networking 8 10-15-2003 12:16 PM


All times are GMT -5. The time now is 05:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration