Need a mod_rewrite using proxy [P] flag to allow a web server to proxy a tomcat server.
I want to have:
[url removed, login to view] to go to [url removed, login to view]
The major problem I'm facing that images are relative path under [url removed, login to view] so my current code as follow is displaying the proxy page but missing CSS, Images, JS:
Created .htaccess inside /dir1/ as follow:
RewriteRule ^($|/.*) [url removed, login to view]$1 [L,P]
If you want to accept this project, please ensure that you can provide rewrite proxy code that will work with images in relative paths and display the page properly (URLs will be provided upon acceptance of project).
Please respond with your experience in mod_rewrite proxy and your ability to fix the problem above.