I’m trying to run two different php frameworks on the same server. The framework to use is determined by the first path in the uri. So for example: http://www.example.com/v1/requestname will go to the index.php located in: /var/www/html/api/api And everything else (http://www.example.com/v2/requestname) will go to the index.php located in: /var/www/html/api2/public Here is my apache 2.2 config: I’ve been attempting to do