Forum Discussion
hooleylist
Mar 02, 2010Cirrostratus
Hi Anish,
Can you give a few more exact examples of when you want to redirect the client request?
Is the general logic, check the first directory in the URI (/product1/ or /product2/) and see if it starts with the literal string "product" and then check if it does not match the hostname's first field (product1.xyz.com)?
I assume "product" isn't the actual word you want to look for. But is that word always the same that you want to look for in both the URI and host header value?
Thanks,
Aaron