If you are using a programming language, like PHP (which I use and love!),
you can set it up to detect whether it is port 80 or 443 and redirect as
necessary, avoiding the error message.

I have it set up so that if they view a page on port 80 that I want to be
viewed secure, it automatically redirects them to the same page on port 443.
Works nicely, and is transparent to the user.  I do the oposite for the rest
of the site, so they don't surf the entire site on port 443 (more resource
intensive, slower).


> I believe you can restrict particular directories to only SSL access via
> the SSLRequire directive placed in the .htaccess file in the respective
> directories. Attempting to the access the directory or pages therein using
> HTTP results in an error.
>
> At 05:39 PM 10/04/2000 -0700, you wrote:
> >Are you refering to the actual html code or do you mean using redirect in
> >the httpd.conf?
> >
> >
> >
> >Call them as https://www.domain.com/page.html instead of
> >http://www.domain.com/page.html (note the addition of the "s").
> >
> >Brian
> >
> >
> > > It seems like such a simple thing, but I haven't been able to find a
clear
> > > answer on how to set directories and/or pages to require ssl.
> > >
> > > Any suggestions?
> > >


______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to