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

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -