Forum Discussion

Matt_H_58911's avatar
Matt_H_58911
Icon for Nimbostratus rankNimbostratus
Jan 13, 2009

More URL redirects

I have a high level question in regards to URL redirects. Is their a limit on how many redirects I can have? Lets say I need 2000 redirects, does this require and I rule for every redirect? Ideally the URL would remain the same an not reflect the redirect URL.

 

 

Thanks,

 

 

Matt

2 Replies

  • If you just need a generic redirect from http to https, then you just need

     
     when HTTP_REQUEST { 
       HTTP::redirect "https://[HTTP::host][HTTP::uri]" 
     } 
     

    on each port 80 virtual server.

    If you need something more specific, then you may need a separate rule for every redirect, depending on how much of the host and/or URI needs to be changed.

    If you are trying to redirect a client but have the browser URL remain the same, that's not really doable without proxying all the requests. You can use the ProxyPass rule in the codeshare (Click here) to accomplish something like that.

    Denny

  • dennypayne,

     

     

    Thanks for the response. I'm working on getting a sample redirect from the customer. I am told they have a utility with more than 2000 redirects. Is their any known limit on the amount of redirects?