Re: apache SSL help

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: alex@crackpot.org
Date:  
To: plug-discuss
Subject: Re: apache SSL help
Quoting Craig White <>:

> a connection from outside always shifts...
>
> http://srv3.tobyhouse.com is redirected to https://cms.tobyhouse.com
>
> I would prefer to have the SSLRequireSSL directive and Redirect
> Permanent /drupal directives for a lot of reasons but for now, they are
> off.


Put this in your config for port 80 :
   # any http request which is not for /drupal will be redirected to https.
   <LocationMatch "^/(?!drupal)">
     Redirect / https://cms.tobyhouse.com/
   </LocationMatch>


And this in your config for port 443 :
   # require SSL for all directories in the web root except /drupal
   <DirectoryMatch "^/whatever/the/doc/root/is/(?!drupal)">
     SSLRequireSSL
   </DirectoryMatch>





---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss