Hi Chris,

> ErrorDocument 400 https://www.domain.com/secret
> ErrorDocument 403 https://www.domain.com/secret
> <IfModule mod_ssl.c>
> SSLRequireSSL
> </IfModule>

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/secret

That way Apache will redirect them for you.  This is what I use when
people go to my webmail system forgetting to use https.

-- 
Regards,
+-----------------------------+---------------------------------+
| Peter Kiem            .^.   | E-Mail    : <[EMAIL PROTECTED]> |
| Zordah IT             /V\   | Mobile    : +61 0414 724 766    |
|   IT Consultancy &  /(   )\ | WWW       : www.zordah.net      |
|   Internet Hosting   ^^-^^  | ICQ       : "Zordah" 866661     |
+-----------------------------+---------------------------------+
       My current spamtrap address is [EMAIL PROTECTED]



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to