I have another application running in a directory called "calculator" and I can't seem to get EE to ignore it. When I point to the url /calculator I get a 404.
I have this in my htaccess file:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !calculator/
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
I also tried changing these two lines:
RewriteCond %{REQUEST_URI} !calculator/
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
To:
RewriteCond $1 !\.(gif|jpe?g|png|calculator)$ [NC]
Any ideas on what I'm missing here?
I double checked to make sure I don't have any url's "calculator" as well.
EDIT/Added:
- .htaccess in /calculator directory
Options +FollowSymLinks
IndexIgnore */*
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteBase /
RewriteRule ^(.*)\?*$ index.php/$1 [L,QSA]
# Force the latest IE version, in various cases when it may fall back to IE7 mode
# github.com/rails/rails/commit/123eb25
# commitcomment-118920
# Use ChromeFrame if it's installed for a better experience for the poor IE folk
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
BrowserMatch MSIE ie
Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie
</IfModule>
</IfModule>