Hi Chris,
> ErrorDocument 400 https://www.domain.com/secret
> ErrorDocument 403 https://www.domain.com/secret
>
> SSLRequireSSL
>
Another (simpler) way is to add a redirect directive to the normal http
version of the website like this (in httpd.conf):
Redirect /secret https://www.domain.com/se
Chris wrote:
Hi guys,
Does anyone know of a simple way (maybe using .htaccess?) to force all files
within a directory to be accessed only with secure https protocol (Red Hat
7.2 + Apache)? Ie: even if someone overwrites the URL with http, have it
automatically redirect to the same URL but with ht
sage -
From: "Anthony E. Greene" <[EMAIL PROTECTED]>
Sent: Thursday, April 03, 2003 7:24 PM
Subject: Re: Force SSL-only within a folder
> On 03-Apr-2003/16:55 -0800, Chris <[EMAIL PROTECTED]> wrote:
> >Does anyone know of a simple way (maybe using .htaccess?)
On 03-Apr-2003/16:55 -0800, Chris <[EMAIL PROTECTED]> wrote:
>Does anyone know of a simple way (maybe using .htaccess?) to force all
>files within a directory to be accessed only with secure https protocol
>(Red Hat 7.2 + Apache)? Ie: even if someone overwrites the URL with
>http, have it automati