I have the PERFECT solution for you.
Put the following into .htaccess in the /web of the site in question.
The only change you will have to make is to site3
===============
RewriteEngine on
RewriteBase   /home/sites/site3/web

#FORCE HTTPS
RewriteCond   %{SERVER_PORT}  !^443$
RewriteRule   ^(.*)?$   https://%{SERVER_NAME}/$1 [L,R=303]
===============

Hope this helps you out.

Sincerely,
Thomas Sanders

----- Original Message -----
From: "Cynthia Rossbach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 7:22 AM
Subject: [cobalt-developers] How to implement mandatory https access to main
site?


> Hello,
>
> I've enabled SSL on the main site of RaQ4.
> Now I would like to make access into the main site a
> https only access with the idea that anyone accessing the site via http
will get an
> "Access Denied" (or some such) error message.
>
> TIA!
> --
> Cynthia Rossbach
> Software Engineer
> Advanced TelCom Group, Inc.
> [EMAIL PROTECTED]
> 707.284.5157
>
> _______________________________________________
> cobalt-developers mailing list
> [EMAIL PROTECTED]
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
>

_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers

Reply via email to