[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] SSL ?
- Subject: RE: [cobalt-users] SSL ?
- From: "Dan Kriwitsky" <list1@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed Apr 16 16:35:01 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
> >JG> 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
>
Couldn't you just do a
RedirectPermanent /form.html https://www.example.com/form.html
and put that in httpd.conf for that site.
--
C2003 Dan Kriwitsky
Please reply to the list only. Off list replies are not read.