Support alternative base path for rev proxies

The interaction with the standard apache module is becoming messier.
Maybe we should fork the apache module for good.