Answered
Switch user from http to https
I have a customer intranet that now needs to be exposed to
the internet. The problem I now have is how to determine a users ip
and then compare it to another list that is internal versus
external.
I know I can get the users IP using CGI variables, what I am not sure of is what the best way to define the internal network(192.168.0.0) or external ( anything else) and redirect them to http or https. So basicly if your ip starts with 192.168.???.*(I have multiple subnets that do and do not need access) then you can use http. Anyhting else goes to https.
I would a appreciate any ideas or even better examples..
Thanks,
Chris
I know I can get the users IP using CGI variables, what I am not sure of is what the best way to define the internal network(192.168.0.0) or external ( anything else) and redirect them to http or https. So basicly if your ip starts with 192.168.???.*(I have multiple subnets that do and do not need access) then you can use http. Anyhting else goes to https.
I would a appreciate any ideas or even better examples..
Thanks,
Chris
