I'm using the following mod rewrite script, I want to change it to try looking for a file in a particular directory, can somebody give me a hint on how to achieve this please?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
The rewrite needs to check if the filename exists in the requested location, then if that fails it will check in directory like '/themes/theme1', and finally it will go to /index.php when the above two fail.