SNI looks interesting, and I certainly applaud your efforts. Be sure to
let us know how you make out.
You're using virtual hosts I presume?
--
-Eric 'shubes'
Maxwell Smart wrote:
I realize that it's a bit of a hack and I don't like it, but I cannot
get it to work correctly otherwise. I just tried your config and it
didn't work either.
You are using the webmail suffix where I am not. I am trying to get
mail.myserver.com to work using SNI. I should be able to have multiple
virtual servers using https and I cannot get it to work. I think part
of the problem is openssl 0.9.8e SNI requires f and newer. I upgraded
on my test server, but I'm still having problems getting it to work
correctly.
I'll figure it out, it's just frustrating when you read the
documentation and it doesn't quite work that way. Then where do you
start to troubleshoot.
Quoting Eric Shubert <[email protected]>:
I'm not saying that ErrorDocument won't work, just that it's a bit of
a hack.
The conventional way (and 'better' for a number of reasons) is to use
the RewriteEngine. I seem to recall that there's a way to turn on
logging for the rewrite engine if you're having a problem with it.
Here's the RewriteRule I'm presently using:
RewriteRule ^/(webmail.*)$ https://%{SERVER_NAME}/$1 [R=301,L]
Upon closer examination, I see that
RewriteRule ^(.*/webmail*)$ https://%{SERVER_NAME}$1 [L,R]
appears to be missing a period after webmail. I believe that it should
be:
RewriteRule ^(.*/webmail.*)$ https://%{SERVER_NAME}$1 [L,R]
Subtle, but big difference. I believe this would work, the same as the
one I'm using above.
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]