[support] https and htaccess

Jamie Holly hovercrafter at earthlink.net
Fri Jul 22 15:54:13 UTC 2011


RewriteCond %{SERVER_PORT} 80 is checking that the current request is
coming from port 80, then it redirects to https://

Jamie Holly
http://www.intoxination.net 
http://www.hollyit.net


On 7/22/2011 11:39 AM, Moshe, Sam wrote:
>
> Am I reading the script right?
>
> Using rewrite to redirect to port 80?
>
>  
>
>  
>
> *From:*support-bounces at drupal.org [mailto:support-bounces at drupal.org]
> *On Behalf Of *Shai Gluskin
> *Sent:* Friday, July 22, 2011 9:17 AM
> *To:* support at drupal.org
> *Subject:* Re: [support] https and htaccess
>
>  
>
> Lynn,
>
>  
>
> Are you on a Linux server? I think you are talking about using a
> mod_rewrite solution which, I think, only works on Linux.
>
>  
>
> mod_rewrite is incredibly powerful and fussy. I wouldn't risk advising
> you on the actual script.
>
>  
>
> I actually think this kind of question might best be handled by the
> support team at your server company. I'm not saying you shouldn't ask
> here... but if you don't get a response that helps, that is another
> route to go.
>
>  
>
> Shai
>
>  
>
> On Fri, Jul 22, 2011 at 10:10 AM, Lynn Stott (Stott Design)
> <lynn at stottdesign.com <mailto:lynn at stottdesign.com>> wrote:
>
> Can some help with .htaccess? 
>
> How do you redirect all 
> https://www.site.com <https://www.site.com/> 
> http://www.site.com <http://www.site.com/> 
> http://site.com <http://site.com/>
>
> to
>
> https://site.com <https://site.com/>
>
> Thanks,
>
>  
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110722/b98583f6/attachment-0001.html 


More information about the support mailing list