On Tue, Apr 24, 2012 at 12:24 PM, TianJing <jingtian.seu217@xxxxxxxxx> wrote: > Hi all, > > I have a question on apache rewrite, I have a https website: https://www.a.com > > I want add another url(http://www.b.com),and this url will be forward > to https://www.b.com > > I using the rewite rules, but I seem doesn't work. > > any suggestions? > You need to give more information. You haven't said anything useful. What did you try? Show your config What happened? In a general sense, what you are trying to do is easy. You've gone from one SSL vhost to two SSL vhosts and a non SSL vhost that redirects to one of the SSL vhosts: <VirtualHost 12.34.56.78:443> ServerName a.com # a.com's SSL settings, etc </VirtualHost> <VirtualHost 12.34.56.79:443> ServerName b.com # b.com's SSL settings, etc </VirtualHost> <VirtualHost *:80> ServerName b.com Redirect / https://b.com/ </VirtualHost> Cheers Tom --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx