[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] How to implement mandatory https access to main site?
- Subject: Re: [cobalt-developers] How to implement mandatory https access to main site?
 
- From: "Thomas" <tsanders.cobalt@xxxxxxxxxx>
 
- Date: Thu Nov 15 13:36:07 2001
 
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
 
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" <crossbach@xxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
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.
> crossbach@xxxxxxxx
> 707.284.5157
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
>