Forum Moderators: phranque
I found out recently that if you have a file, for example, a file in the root, such as /test.php, then all requests, such as /test/does-not-exist/ and /test/not-there/file.rss all open up that test.php file.
This came up as it was causing some headaches with a script I was trying to write.
My .htaccess file is empty so it is not caused by a rewrite rule I created.
Does this happen with anyone else on GoDaddy, or even not on GoDaddy? Specifically for this one project, I'm hosted on a shared Linux server. I tested it out on another GoDaddy hosted account, and it happened there too.
Any ideas how I can stop this, so only /test.php will open /test.php?
Thanks