Martin Kong wrote:
> 
> But onces user is in SSL mode, the whole site will
> be in SSL mode since most of the links are based on document root
> instead of full qualified.
> 
> Is there a way I can configure Apache (Apache 1.3.17 on Linux) so that
> it will automatically switch to http when accessing these other pages on
> the site?

This is not how to use SSL. You should think of an SSL virtualhost as a
separate server with its own document root that cannot be reached from
plain HTTP (and vice-versa). So all links between the SSL and HTTP parts
of your site should be absolute (e.g. so they look like
https://secure.mydomain.com/ and http://www.mydomain.com/). Trying to
mix SSL and plain HTTP content always leads to tears.

Regards,

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

Reply via email to