[f-nsp] http to ssl redirect issues via csw-rule

Williams, Brian brian_williams at csgsystems.com
Tue Sep 9 12:52:30 EDT 2008


I'm attempting to do a http to ssl redirect for a website (example,
redirect http://site.sample.com to https://site.sample.com) and am not
having much luck doing so with the csw policies / rules.  Below is the
snapshot of the config I'm using pertaining to the vip and csw ... does
anyone have any suggestions or tips?  Thanks.




csw-rule "portal-to-ssl" header "host" equals "site.sample.com" 

 

csw-policy "ssl-portal" 

 match "portal-to-ssl" redirect "site.sample.com" "*" ssl

 

 

server real web1 192.168.1.1 

 port http

 port http url "HEAD /"

 port 81

 port 82

 

server real web2 192.168.1.2

 port http

 port http url "HEAD /"

 port 81

 port 82

 

server virtual vip_web 192.168.0.1

 port ssl sticky

 port ssl ssl-terminate portal

 port http

 port http csw-policy "ssl-portal"

 port http csw

 bind ssl flweb1 81 real-port http flweb2 81 real-port http

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/foundry-nsp/attachments/20080909/f700e5e4/attachment.html>


More information about the foundry-nsp mailing list