Forum Discussion

Brian_Moyles_10's avatar
Brian_Moyles_10
Icon for Nimbostratus rankNimbostratus
Mar 28, 2005

Simple https to http redirect

We set up a rule today to forward traffic sent to a secure site to a down page for maintenance.

 

The rule was simply:

 

 

redirect to "http://www.domain.com/path/to/down/page"

 

 

When I apply that rule to a http service, things work okay, but if the service is https, it won't redirect. Is this expected behavior?

 

(v4.5.9)

2 Replies

  • could you give us a little more information about your setup? Is it a site that forces https, or allows both? Is there an SSL proxy on the F5?

     

     

    My suggestion (w/o knowing more) would be to put the redirect in as the "fallback host" in the pool that the servers you are trying to get to, and then disable the servers from that pool's point of view -- that way, whether the traffic comes in http or https, it should be redirected.

     

     

    However, if you are not running the SSL on the F5 (e.g. if you are running it on the servers instead), your architecture is probably different.

     

     

    Hope this helps,

     

     

    Doug
  • Hello guys,

     

    Is there any update on this issue? We are tryiing to redirect a https URL to an http URL.

     

    We have set up on our F5 2 Virtual Servers, one that accepts SSL (port 443) request and the other accepts NON-SSL (port 80) requests.

     

    It seems to load forever.

     

     

    Can anyone help with this redirect?

     

     

    Thanks!

     

     

    Regards,

     

    TRX