Possible Duplicate:
Force SSL/https using .htaccess and mod_rewrite
On my site I'm planning on using multiple domains, some may have SSL, some may not. I'd like to force the SSL ones to use it, and the non to not. Is this possible? I think I'd need to use PHP, but maybe this can be done in .htaccess. Any help? How about if I let my customer enter it, like they could say they'd like their url to start with https://www
or just http://
, is there a way to create a permenant redirect using php? Sorry kinda newbish questions for someone who builds such indepth cms'. Also, quick question: are there any drawbacks to the route-all-to-index.php style of creating permalinks that i've been using as far as performance is concerned?