> I've got a section of our site where I want to force the user to 
> connect via ssl.
> Inside of mod_perl, is there a parameter I can grab to see whether 
> the connection is ssl or not?  Or a way to get the port number?

If there isnt a special reason otherwise, why not just put a
redirect in http.conf, eg

<VirtualHost _default_:80>
        .....
        Redirect /secure https://www.mysite.com/secure
</VirtualHost>

Then any attempts to access something under http://www.mysite.com/secure
will get a redirect to same page but using https.


Reply via email to