-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

There is a very simple approach, using the rewrite directive.
(forwarding it a other https server or virtualhost of yours.

I'm actively using:
        redirect / https://www.<domain>.com/

You can put in the-main-conf or in a VirtualHost, 

Example:
(I don't use http, only https, so I've made a VH for http to forward to https)

<VirtualHost <domain-name/or-ip>:80>
        SSLEngine Off
        port 80
        redirect / https://www.<domain>.com/    
        ServerName      www.<domain>.com
        ServerAdmin     <user>@<domain>.com
        ErrorLog logs/dummy-www.<domain>.com-error_log
        CustomLog logs/dummy-www.<domain>.com-access_log common
</VirtualHost>




>Hi.
>
>I need to be able to transparently (to the user) switch user's http requests
>to https. Meaning when the user opens a browser and types
>"http://server/resourse"; I need to recognize that the request came in as
>http and need to instruct the browser to resend it as
>"https://server/resourse";. Ideally I'd like to accomplish that via some
>mod_perl script, but if there is a configuration directive, that would work
>too.
>I'd appreciate any help regarding how to accomplish this.
>
>thanks a lot,
>Sasha Novozhilov
>______________________________________________________________________
>Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
>User Support Mailing List                      [EMAIL PROTECTED]
>Automated List Manager                            [EMAIL PROTECTED]





//   with regards
//   ID ::  danalien  ::  <[EMAIL PROTECTED]>

PGP Public Key Fingerprint: C891 D3A1 427A A5E7  449F B19E 1E85 A109

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its 
affiliated companies.

iQA/AwUBPUQ6Ax6FoQlEaqKIEQLNEwCgxsmRowh0I3AsXohIgTMjbNGdKwMAoOoz
73h9KA46NCgUVl9W9UPdsCpX
=Aa9m
-----END PGP SIGNATURE-----


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

Reply via email to