Re-writing a client request from http:// to https://Many sites are now https only, banking, e-commerce, shopping, and many more. However, end users are not always willing to remember prefixing their request with https:// -- indeed, they never need to as ZXTM and trafficscript provides a simple server solution!
This trafficscript will ensure that any http request matching /foo/any/further/path will be re-written as https. So, a customer can request:
Yet, their request will be transparently re-written to:
Comments:This public messageboard is not a forum for technical support. To report technical support problems, please contact our dedicated Support team using the instructions at the bottom of this page.
Comment from:
mrz [Visitor]
A simpler rule is:
http.changeSite("https://" . http.getHeader ( "Host"));
Comment from:
Steve [Visitor]
· http://www.maximus.com
How can you do this with RuleBuilder?
Comment from:
kpfoote [Visitor]
This can be done fairly easily with only RuleBuilder.
- First create your service tied to your service name and port 80 then set the pool to discard. - Next create a new rule Catalogs -> Rules - In that rule leave Conditions empty - Under the Actions tab / Requests and Responses section . select Log Information stating what you want (you can skip this if you want) . select HTTP only / HTTP Redirect telling it where you want the request to go. ie the full https://blablabla.bla.bal
Comment from:
bika [Visitor]
· http://www.go_there.com
How do I redirect https traffic?
Thanks!
Comment from:
Owen Garrett [Zeus Dev Team]
Bika - first, you need to decrypt the traffic using the SSL settings of the virutal server. Then, apply a rule to send the redirect, using either TrafficScript (comment 1 above) or RuleBuilder (comment 3)
|
Recently...
Other Resources
|





