I need to rewrite several
http://app1.foo.com
to
https://app1.foo.com
, and
http://app2.foo.com
to
https://app2.foo.com
, but other
http://www.foo.com
and
http://foo.com
should stay on http.
I (think I) see
how [webmasterworld.com] to rewrite all the URLs, but I need to be selective based on a regex in the RewriteCond to match the names I want to rewrite. They're all vhosts on the same server, controlled by the same vhost config generator template.
Suggestions are gratefully welcomed!