We're using Apache as a frontend to our web application servers. Apache serves all requests and forwards these requests to the correct application server based on the request URL.
We want to preserve the existing Location-mappings for our single VirtualHost, but forward all other requests to one of the application server for further processing, i.e. we want Apache to forward all requests that do not match any of the existing Location-mappings to a single server. I've tried the following
<VirtualHost *:443> # Global settings for virtual host ... # New "fallback" Location mapping <Location /> ... </Location> # Existing Location mappings <Location /portal> ... </Location> ... </VirtualHost>
But then Apache forwards all requests to the fallback server. Is there any way to properly specify such a "fallback" Location and still allow existing mappings to function properly?