Let's say you have the following setup.
You have a server with the basepath set to the normal webroot.
The server has files in the following structure
/projects /some-unique-id /index.html /images /some-unique-id /index.html /images
Is it possible to have a .htaccess file somehow redirect the paths so if index.html has absolute paths they work.
For example if index.html contains /images/foo.gif can this magically become /projects/some-unique-id/images/foo.gif
The equivalent of the base html tag.
This is part of a CMS deliverable previewing system so I am restricted to not changing the HTML code.
Is there anyway to address this in an .htaccess file?