[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] SSL ?
- Subject: Re: [cobalt-users] SSL ?
- From: Brian Rahill <cobalt@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed Apr 16 16:15:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
At 06:32 PM 4/16/2003 -0400, you wrote:
JG> The problem is that i can get to the form from both http and https.
JG> How do I prevent the http:// url from working?
I just implemented this fix today. Stick this in an .htaccess file:
#BEGIN FORCE HTTPS
RewriteEngine on
RewriteBase /home/sites/siteX/web
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)?$ https://%{SERVER_NAME}/$1 [L,R]
#END FORCE HTTPS
Brian
--
Brian M. Rahill
President
RainStorm, Inc.
http://www.rainstormconsulting.com
"Designing Strategies for Internet Success."
brian@xxxxxxxxxxxxxxxx
Phone: 207-866-3908
Fax: 207-866-0297