Re: Help with rewrite / redirect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 14, 2009 at 05:50:13PM -0500, Doug Bell wrote:
> On Jul 14, 2009, at 5:25 PM, John Oliver wrote:
> 
> >I have a server that's always been known as https://server1.com/  It's
> >now known as https://server2.com/  Anyone who accesses it as
> >https://server1.com/ winds up getting a certificate error as well as
> >other issues.  I want to grab and rewrite any https://server1.com/  
> >URLs
> >to https://server2.com/  But it seems like there are dozens of ways to
> >do this, and none are working for me.  mod_rewrite, mod_alias,  
> >Redirect,
> >RewriteCond, blah blah blah... nothing I try ahs any effect.
> >
> 
> What do you mean by doesn't work?

URL never changes.

> I'm guessing you mean it still has the certificate error, and that  
> will happen.

You'd be guessing wrong ;-)

> My suggestion is to keep a cert for both domains until the transition  
> is complete. That will be the easiest (though not necessarily the  
> cheapest).

Pretty tough to do with one IP address... ;-)

That isn't my problem.  SSL works perfectly.  I just can't come up with
the right magic incantation that will rewrite my URL for me.

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux