I have a .htaccess file that looks like this. What i would like to do is pass the request onto index.php if the file or directory exists and a 403 error was generated as well.
that is, if "/foo/bar" exists on the server, but a 403 is generated i want that "/foo/bar" passed onto index.php as if the directory "/foo/bar" doesn't exist on the server.
possible?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#Make sure the physical file doesn't exist
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>