[EMAIL PROTECTED] wrote:
> 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".
Ah, that's simple, just set the Location header, this is what is known
as an external redirect and it works nicely for doing what you want:
$r->cgi_header_out("Location", "https://yaddayadda")
HTH
--
Regards Flemming Frandsen - http://dion.swamp.dk
PartyTicket.Net co founder & Yet Another Perl Hacker
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]