Need a mod_rewrite using proxy [P] flag to allow a web server to proxy a tomcat server.
I want to have:
http://www.domain.com/dir1/ to go to http://subsite.site.com/
The major problem I’m facing that images are relative path under subsite.site.com so my current code as follow is displaying the proxy page but missing CSS, Images, JS:
Created .htaccess inside /dir1/ as follow:
RewriteEngine on
RewriteRule ^($|/.*) http://subsite.site.com/$1 [L,P]
==
If you want to accept t…