I initially thought this was a problem with my .htaccess files, however even after disabling mod_rewrite the problem persisted. http://example.com/foo/bar is loading http://example.com/foo.php with this true for file foo being in any folder on the server. Does anyone know what is causing this behaviour and how I can stop this, as I want it to load http://example.com/foo.php?text=bar. I am running a normal LAMP setup, with Ubuntu as the OS.
Also, this happens only on the testing server, not the live VPS
This is probably due to MultiViews. You can disable it with: