10-10-2006 09:07 PM
Is there an example config for redirecting http to https on CSM
10-11-2006 11:10 PM
Here you go.
Use this serverfarm in your HTTP vserver and the client will be redirected to the ip address [or hostname] that you configured.
The '%p' is to preserver the path.
It is an option, so you don't have to use it if you want to redirect the use to a fixed path.
serverfarm HTTPS-RED
no nat server
no nat client
redirect-vserver HTTPS-RED
webhost relocation https://192.168.30.5/%p
inservice
!
Gilles
11-19-2006 02:04 AM
Hi,
I have an additional question off the back of this scenario.. (if you dont mind that is)..
Could you also do this at a TCP port level.. eg if you had 2 x vservers that both had the same IP and the http redirected itself to the https ?
An example of the current setup would be:
serverfarm cheese
real 10.10.10.10
inservice
vserver cheddar
virtual 11.11.11.11 tcp www
serverfarm cheese
inservice
vserver edam
virtual 11.11.11.11 tcp https
serverfarm cheese
inservice
and then any requests to the www would be forced to the https ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide