[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Forcing HTTPS for certain parts of a site



It seems to me that the best way to do it would be to put a rewrite rule in
an .htaccess file
in the directory you want controlled
Something similar to:
RewriteRule ^/.* https://server/$1

It is strange that this comes up, because I have been trying to make this
work for a week.
Using different Rewriterules but alas, I do not have a firm grasp on the
exact mechanics of this.
Perhaps some of out more knowledgable people can come up with the propper
rule to make this occur.


-Thomas
----- Original Message -----
From: "Peter Dickson" <peter.dickson@xxxxxxxxxxx>
To: "Cobalt Developers List" <cobalt-developers@xxxxxxxxxxxxxxx>
Cc: "Chris Moules" <chris.moules@xxxxxxxxxxx>; "Anthony Marsh"
<ant.marsh@xxxxxxxxxxx>
Sent: Wednesday, August 22, 2001 1:28 AM
Subject: [cobalt-developers] Forcing HTTPS for certain parts of a site


> How do I force HTTPS when browsing certain areas of a site? e.g. if I try
> and browse to http://www.domain.com/adminstrate I want the browser to
> automatically go to https://www.domain.com/adminstrate.
>
> TIA
>
>
> P.
>
> ---
> Peter Dickson
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Kyros Solutions Ltd
> 110 The Custard Factory  Gibb Street  Birmingham  B9 4AA
> t: +44 (0)121 683 1330         w: http://www.kyros.co.uk
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~ passionate about helping people use information technology effectively ~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> ---
> Fingerprint: 02DB 023B C11B 412C D015  0AF3 F074 8590 72D2 BC98
>
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>