Forum Moderators: phranque
I am rather new to "Rewrite cont" and for the matter of fact apache as well. I been reading a number of post from forum and google, but doesnt' matter how I try I am still hitting walls.
I have setup a proxypass to an internal web portal, but when the page is redirected back to user, the portal dose not show the images and also had problem when loggin in.
I am using the following lines to rewrite the return pages. I need all images e.g. www.mydomain.com/custom to look like www.mydomain.com/test/custom.
1) Basically add test/ after www.mydomain.com on all return pages.
RewriteEngine on
rewritecond %{HTTP_HOST}!^www\.mydomain\.com [NC]
RewriteRule ^/(.*) [mydomain.com...] [L,R]
ProxyPass /test [mydomain.com:8080...]
ProxyPassReverse /test [mydomain.com:8080...]
and obviously it's not working, any ideas anyone?
Thanks in advance