Hi,

I have another question regarding redirects with httpd.

I need to redirect a given URL to another server based on its query parameters.

Example:

http://company.website/products/?id=1

redirect to:  "http://newcompany.website/products";

http://company.website/products/?id=2

redirect to: "http://newcompany.website/contact";


I think the problem is that everything after the "?" is not taking into account by the httpd redirect logic (because by definition it's not part of the path?). But is there a way to achieve this with httpd?

Thanks a lot,
Thomas


Reply via email to