[support] http > https redirect

sander-martijn sander at sander-martijn.com
Mon Sep 17 14:48:42 UTC 2007


I tried it.  It's not working right for me.  I'm in discussions with the 
creator right now, hoping to resolve that. 

It's driving me crazy that I can't get apache redirects to work with 
drupal though.  Much faster than the module.

.s

Metzler, David wrote:
> I haven't used this, but check out the Secure Pages project:
> http://drupal.org/project/securepages
>
> Dave
>
> -----Original Message-----
> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
> Behalf Of sander-martijn
> Sent: Sunday, September 16, 2007 3:14 PM
> To: support at drupal.org
> Subject: [support] http > https redirect
>
> Anyone know what I need to do to get individual pages to redirect to 
> https? 
>
> These 2 lines work:
> RewriteCond %{SERVER_PORT} !^443$
> RewriteRule ^(contact/requestBook)$ https://s24863.gridserver.com/$1 
> [R=301,L]
>
> These lines, which should be the exact opposite, redirect all pages to
> http:
>  # Redirect non-secure pages to HTTP if requested by HTTPS
>   RewriteCond %{SERVER_PORT} ^443$
>   RewriteCond %{REQUEST_URI} !^contact/requestBook$
>   RewriteRule ^(.*)$ http://s24863.gridserver.com/$1 [R=301,L]
>
> I've tried all options here including node/387, index.php?q=node/387, 
> including/excluding parens etc - none have worked.
>
> Obviously as is the contact/requestBook page ends in an endless loop.
>
> I tried the securepages module but it's broken.
>
> .sander
>   

-- 
------------------------------------------------------------------------

sander-martijn <mailto:sander at sander-martijn.com>
interface developer | architect
sander at sander-martijn.com <mailto:sander at sander-martijn.com>
www.sander-martijn.com <http://www.sander-martijn.com>

------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20070917/5a502d1f/attachment.htm 


More information about the support mailing list