I would like to use Apache 2.2 ProxyPassMatch to make a Reverse Proxy.
Expectations: Exclude specified directories in the DocumentRoot and all others redirect to.
Example:
- DocRoot
- Project1
- Dir1
- Dir2
- Project2
- Dir3
- Dir4
- Dir5
- Project3
- Dir6
- Project1
Redirect the "Project1" and "Project2" directories (and all files and subdirectories), but not redirect the "Project3" directory (and all files and subdirectories).
Try the following set of rules:
Make sure that
mod_proxy
is enabled.