OK, so we were working in the wrong directory, meh!
We have a .htaccess file that is setup to redirect some files to a php script. Now we are adding some hard files which we want to bypass this redirect. So far this does not seem to be working and we are stumped.
Below is our initial .htaccess file contents after starting the engine which is working for another app already:
RewriteCond $1 !^(index.php|robots.txt|favicon.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]
We are trying to load files now from /directory/ So we have tried adding each of these to the RewriteCond section:
RewriteCond %{REQUEST_URI} !directory
RewriteCond $1 !^(index.php|i/|robots.txt|favicon.ico|directory)
Neither seems to be working. Any ideas on how to get this to load?
Examples:
Should redirect
Should not redirect
http://site.com/directory/index.php
etc.