Hello,

I'm working on a site that uses SSL, and want to redirect users who
access the site via http to https.

The way I've done this in the past is to check ns_conn driver, then
redirect to a hardcoded URL.

However, I would like to be able to do this independent of the system
aolserver is running on -- e.g., have it work in both development and
production environments.  Since requests in production may be coming
from a load balancer, using the machine's hostname won't work.

I've looked through the information available in ns_info and ns_conn,
and the _only_ place I see the hostname that was actually in the
original request is the Host header, available from ns_conn headers.
I'd really rather not have to dip into the headers to get this.

I'm sure other people have solved the problem.. how it this typically
done?

Thanks for any ideas :)
Ross


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to