Selectively redirect to a new domain using apache vhost configuration
问题 This is a followup question on Redirect to a new domain using apache vhost configuration I want my requests from somedomain.com/loadproduct?product=dell-inspiron-15 to be redirected to someotherdomain.com/dell-inspiron-15 but selectively for some products which are whitelisted. For example for products : dell-inspiron-15. dell-inspiron-16. dell-inspiron-17 redirect to the new URL but for any other products I want to use the current path itself. Currently my vhost configuration looks like