I’m working with mod rewrites and i am new at it. I have written the following rule:
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/? index.php?company=$1&action=$2&type=$3&id=$4 [L,QSA]
i have tested and it works however it is not allowing me to display images e.g.
<img src="http://example.com/images/logo.gif">
because it keeps following the rewrite rule and suggests that this page doesn’t exist
How do i go about adding exclusions to a certain directory so that i can use it as an image/js/css directory etc.
Thank you very much
You’re best off simply excluding requests that match a file: