Forum Discussion

CSA's avatar
Icon for Nimbostratus rankNimbostratus
Jan 17, 2011

Simple reverse proxy




I'm trying to do something quite easy but I can't make it work.



I have an irule like this:





elseif {[HTTP::path] starts_with "/admin"} { HTTP::redirect pool preprod_admin_pool }





My pool has two web servers listening on port 8082, and their document root is "/".



I would like to have "/admin" removed from HTTP:uri on the backend requests (ie client still use




Can I do this easily ? I had a look to reverseproxy big irule but it looks complicated for what I want to achieve.





15 Replies