I’d like to rewrite all static components of a website (JS, images, CSS) from a “virtual” folder to a folder that’s a tad deeper in the filesystem.
Example: http://example.com/static/image.png resolves to http://example.com/application/templates/some_template/static/image.png. Sorry for being a noob.
Thanks in advance!
If everything that begins with
/static/should be rewritten, you can use this: