Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am implementing a reverse proxy with the following configuration:

ProxyPass /home/
ProxyPassReverse /home/
<Location /home/>
    ProxyPassReverse /
    ProxyHTMLURLMap /rs/ L
    ProxyHTMLURLMap / /home/
    RequestHeader unset Accept-Encoding

ProxyHTMLURLMap / /home/ makes sure that all links starting with / is rewritten as However, I want URLS that start with /rs/ to be rewritten as

Unfortunately, it seems that the "ProxyHTMLURLMap / /home/" configuration always takes effect. How can I set the priority of the "ProxyHTMLURLMap /rs/ L" configuration to a higher priority? When I comment out "ProxyHTMLURLMap / /home/", rewriting the URL to is effective.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.