[support] https and htaccess
Lynn Stott (Stott Design)
lynn at stottdesign.com
Fri Jul 22 14:24:36 UTC 2011
I think I got it. Both statements are necessary, I think... any comment?
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://mysite.com/$1 [R,L]
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,R=301]
Thanks,
Lynn Stott
www.stottdesign.com
208.871.0073
On Jul 22, 2011, at 8:10 AM, Lynn Stott (Stott Design) wrote:
> Can some help with .htaccess?
>
> How do you redirect all
> https://www.site.com
> http://www.site.com
> http://site.com
>
> to
>
> https://site.com
>
> Thanks,
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110722/c695040e/attachment.html
More information about the support
mailing list