g1smd - 1:56 pm on Oct 11, 2012 (gmt 0)
I think another rewrite is called for images:
RewriteRule ^(.*)/(.*)/images/$ ../images/
Do you think this would be appropriate?
No. Absolutely not. And especially not with that very dangerous code (there's at least four implementation errors in it).
I'll have a sift through this:
No. That's not the right answer.
htaccess cannot change what the browser requests. Change what the browser requests by altering what is in the href="" part of the link.
You need the links to images, CSS and JS files within your pages to begin with a leading slash so that their reference as seen from the web is root-relative. You need your rewrite to apply to requests for pages and not to requests for images or files.
Trying anything else will lead to an infinite loop of chasing your own tail.