Just wanted to make sure:
When I write:
require('/path/to/file/file.php');
Is the file required with respect to Apache's mod_rewrite? (which seems unreasonable, since it should be there for user URL redirection) What I mean is, that if .htaccess sends all requests to "index.php", index.php would be required instead?
And
When inside HTML markup, should paths to files e.g. images, links, css be written with respect to .htaccess mod_rewrite?
Say this is the public root: http://example.com/
The image is located in '/img/image.png'
RewriteRule
sends all requests with anything after the url end trailing slash to http://example.com/
Does this mean the image would not be found?
I suppose this applies to JS/CSS files as well.