apache - Relative url done right with ProxyHTMLURLMap? -
for example psweb1.example.com:8002/main/login/login.jsp needs redirect psweb1.example.com/demo1/main/login/login.jsp
and psweb1.example.com:8002/content/* needs direct psweb1.example.com/demo1/content/*
i cannot proper relative paths redirected. appreciated.
this config in httpd.conf
<virtualhost *:80> servername psweb1.example.com serveralias psweb1.example.com proxypass /demo1/ http://psweb1.example.com:8002/ proxyhtmlurlmap http://psweb1.example.com:8002/ /demo1 <location /demo1/> proxypassreverse http://psweb1.example.com:8002/ setoutputfilter proxy-html proxyhtmlurlmap / /demo1/ proxyhtmlurlmap /demo1 /demo1 requestheader unset accept-encoding </location> </virtualhost>
Comments
Post a Comment