Tag Info

New answers tagged

0

I recently ran into this problem, in a similar situation. But the answer from rjenkins would seem to cause problems with virtual applications that relied on inheritance of parent settings. If you know the name of the rewrite rule you can just do this: <rewrite> <rules> <remove name="RewriteNameToDisable" /> </rules> ...


0

Instead of doing URL masking, we realized we could do this easier by just doing a redirect on the backend when sending to a backend server. I don't know if this is ideal, but it accomplished our objective so-far. Here's the code: frontend http_in ... acl is_test1.domain.com hdr(host) -i test1.domain.com # ...


0

You can probably do this using reqrep. frontend FE bind 10.10.10.10:80 mode http acl is_domain.com hdr(host) -i domain.com use_backend BE:domain.com if is_domain.com backend BE:domain.com mode http reqrep ^([^\ ]*)\ (.*) \1\ /path/\2 server domain2.com:80 Though, you should probably put the IP that domain2.com resolves to in the server ...



Top 50 recent answers are included