Balazs Nagy wrote:

> > I don't think (AFAIK) there's a way for a web server to do this.
>
> 2) The auto redirect IS possible:
> There are two virtual host definitions, one for the port 80 (unsecure) and one
> for the port 443 (secure). In the virtual host :80 you could use something
> like:
> Redirect /michel https://www.domain.com/michel
> In the virtual host :443 you might want to put a few redirect rules to switch
> back to the :80 virtual host. There is a detailed example earlier on this list
> (april-may).

Actually, you could just do a global redirect:

Redirect / https://www.domain.com/

which redirects any url under / (the web site's root) to the
secure URL.

> RedirectMatch ^/(signup.pl.*)          https://www.domain.com/$1

I don't know that you even need to do that.

Redirect will preserve CGI parameters entered as part of the URL.

--
North Shore Technologies, Cleveland, OH http://NorthShoreTechnologies.net
Steve Sobol, BOFH - President, Chief Website Architect and Janitor
Spammers and Net-abusers: Don't bother asking me for service. See
http://NorthShoreTechnologies.net/go/policy/ for more information.

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

Reply via email to