0

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>
Jürgen Paul
  • 1,265
  • 4
  • 15
  • 22

1 Answers1

0

Where did he get ".txt"? Not from the rewrite rules as I see.

Search for "txt" string in your apache config files (entirely) and disable rewrite rules.

GioMac
  • 4,544
  • 4
  • 27
  • 41