At 09:28 AM 8/22/01 +0100, Peter Dickson wrote:
>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.
Good question. This is probably in the archive, but just add
"SSLRequireSSL" to the directory's .htaccess file. It's a mod_ssl
directive. To do the redirect, add a custom ErrorDocument for code 403
(Forbidden).
--------------------------------------------------------------------------
Ted Behling, Web Application Developer - Monarch Information Systems, Inc.
43 Folly Field Road, Unit 4, Hilton Head Island, SC 29928-5434
E-mail: mailto:[EMAIL PROTECTED]
Phone/Fax: 1-800-842-7894 Local or Outside the USA: 1-843-842-7894
Cell Phone (urgent issues): 843-816-7895
Cell Phone E-mail: mailto:[EMAIL PROTECTED] (116 letter limit)
Web site: http://www.MonarchIS.net
--------------------------------------------------------------------------
_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers