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 asother issues. I want to grab and rewrite any https://server1.com/ URLsto https://server2.com/ But it seems like there are dozens of ways todo 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?I'm guessing you mean it still has the certificate error, and that will happen. SSL must be negotiated before any HTTP Redirect can be sent.
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).
Doug Bell -- Senior Developer, Plain Black Corp. [ http://plainblack.com ] all that groks is --------------------------------------------------------------------- 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