title: Relative url done right with ProxyHTMLURLMap?
body: <p>For example psweb1.example.com:8002/main/login/login.jsp needs to redirect to psweb1.example.com/demo1/main/login/login.jsp</p>
  
  <p>and psweb1.example.com:8002/content/* needs to direct to psweb1.example.com/demo1/content/*</p>
  
  <p>I cannot get the proper relative paths redirected. Any help is appreciated.</p>
  
  <p>This is my config in httpd.conf</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
          ServerName psweb1.example.com
          ServerAlias psweb1.example.com
  
          ProxyPass /demo1/ http://psweb1.example.com:8002/
          ProxyHTMLURLMap http://psweb1.example.com:8002/ /demo1
          &lt;Location /demo1/&gt;
                  ProxyPassReverse  http://psweb1.example.com:8002/
                  SetOutputFilter proxy-html
                  ProxyHTMLURLMap   /           /demo1/
                  ProxyHTMLURLMap   /demo1        /demo1
                  RequestHeader    unset  Accept-Encoding
          &lt;/Location&gt;
  &lt;/VirtualHost&gt;
  </code></pre>