You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Shawn Marchewka <sh...@benxcel.com> on 2005/06/23 17:42:31 UTC

[users@httpd] https redirect

I have a site.  We'll say it's http://www.domain.com .  On the same server,
I have https://www.domain.com  .  Each site has different content.  The none
secure site is more of a "marketing" side of the server, while the secure
site, is a site for customer login, etc.

We now see the need to move the non-secure site to it's own server.  So I
need apache to redirect all the non-secure traffic from the old server to
the new server, and all the secure traffic from the new server to the old
server.  I have accomplished the non-secure traffic of the old server to be
redirected, but I can't get the new server secure traffic to be redirected.

is this even possible?


-Shawn

Shawn Marchewka




---------------------------------------------------------------------
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] https redirect

Posted by Joost de Heer <sa...@xs4all.nl>.
> We now see the need to move the non-secure site to it's own server.  So I
> need apache to redirect all the non-secure traffic from the old server to
> the new server, and all the secure traffic from the new server to the old
> server.  I have accomplished the non-secure traffic of the old server to
> be
> redirected, but I can't get the new server secure traffic to be
> redirected.
>
> is this even possible?

If I get this correct:

Current situation:
http://domain and https://domain both point to the current machine

New situation:
http://domain to the new machine, https://domain to the current machine.

Possible solution:

have DNS point 'domain' to the current machine, and use reverse proxying
to pass the http-requests to the new machine.

Joost


---------------------------------------------------------------------
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] https redirect

Posted by Jignesh Badani <jb...@mmsa.com>.
Shawn, this does not make sense.

In the new server design you want:

ServerOld (https)       ----        IP Address 1        ---- 
https://www.domain.com 
ServerNew (http)        ----        IP Address 2        ---- 
http://www.domain.com 

So inorder for this to work, you will need to implement some kind of Route 
decision to route https://www.domain.com request to IP 1 and 
http://www.domain.com to IP 2. If this is possible and you have it 
working, then why/how will the secure traffic come to the unsecure server 
(ServerNew) in the first place  and vice-versa !?

Excuse me if I am missing something !?





"Shawn Marchewka" <sh...@benxcel.com> 
06/23/2005 08:42 AM
Please respond to
users@httpd.apache.org


To
<us...@httpd.apache.org>
cc

Subject
[users@httpd] https redirect






I have a site.  We'll say it's http://www.domain.com .  On the same 
server,
I have https://www.domain.com  .  Each site has different content.  The 
none
secure site is more of a "marketing" side of the server, while the secure
site, is a site for customer login, etc.

We now see the need to move the non-secure site to it's own server.  So I
need apache to redirect all the non-secure traffic from the old server to
the new server, and all the secure traffic from the new server to the old
server.  I have accomplished the non-secure traffic of the old server to 
be
redirected, but I can't get the new server secure traffic to be 
redirected.

is this even possible?


-Shawn

Shawn Marchewka




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




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