Forum Discussion

Andy_V_137639's avatar
Icon for Nimbostratus rankNimbostratus
Nov 13, 2013

Getting around CORS with IRULES

Our website uses AJAX requests that makes requests from a page delivered from VIP A ( to send requests to VIP B ( We had to go ahead and put in a bunch of headers ...
  • Simon_Kowallik1's avatar
    Nov 13, 2013

    you can use the ProxyPassV10 irule for this.


    your datagroup content would look like this: pool_api_servers


    the virtual server's default pool should be the one for the servers and you must use a oneconnect profile in the VS as well.


    the proxypass irule will rewrite any request going to to and send it to the pool pool_api_servers proxypass will also take care of the location header in http redirects and rewrite it for you.