I've a little problem.
I've bought (atm it's a trial, but I will upgrade it to a normal one) SSL for my domain. The request is ment for my domein example:
www.domain.com
The problem is, some people forget the www. and just type
https://domain.com (or are redirected from another site with this URL).
On a normal :80 port, this shouldn't be a problem, BUT on :443 this means a SSL cerficate is send that is only ment for
www.domain.com.
The browsers (FF2,3 and IE7,8) see that and show a message about the SSL isn't ment for this domain, bla bla
So, I want a RewriteCond to make it forward
https://domain.com ->
https://www.domain.com
After researching some links on internet I found out this isn't possible, am I correct?
Cause if someone goes to
https://domain.com the SSL cert is sended and then the rewritecond starts working (because it will do a rewriterule, which is only allowed if there is a encrypted-line)
So again, my question is. Am I correct with my theory?
Greetz,
Ali