Is it possible to do the following redirection through htaccess with logical operators?
domain1 / whatever / file.php - > domain2 / foo / file.php
being a generic rule? ie for example to redirect all the images of a folder from one server to another maintaining the relative path?
More than with images I want to do it with API methods I want that when it's called an API method on one server, answer the other one