Apache Detects files as directories
- by Legit
I have a file 'result.txt' in my documentroot, now when I access:
http://localhost/result/first
It's accessing this instead:
http://localhost/result.txt/first
What could have I incorrectly misconfigured in my apache config?
EDIT: My rewrite rules are as follow:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
</IfModule>
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>