How to process requests twice in Apache
- by Pieter
In order to perform realistic tests for a new backend server, I'd like to process all Apache requests twice.
So simply handle all the live requests with the old server, as it's done right now, but then also 'duplicate' the requests to a different virtual host, where the new backend is deployed, which will process the request and log the response.
What's the best / most simple way to achieve this in Apache? (the backend is a FastCGI process)