Some browsers try to "fix" simple URLs if they fail:
If you look at your Apache log, you may see the first request for /delete/ which fails, followed by a second request for /delete -- the .php extension may not be needed in the URL if the script is CGI.
This may also have something to do with it: # # AddHandler allows you to map certain file extensions to "handlers", # actions unrelated to filetype. These can be either built into the server # or added with the Action command (see below) # # If you want to use server side includes, or CGI outside # ScriptAliased directories, uncomment the following lines. # # To use CGI scripts: # #AddHandler cgi-script .cgi
It's generally bad practice to allow scripts and CGI in the server root [/] for just this reason.
found this: (it tough to search the web when you dont know what option you are searching for. thanks).
A MultiViews search is enabled by the MultiViews Options. If the server receives a request for /some/dir/foo and /some/dir/foo does not exist, then the server reads the directory looking for all files named foo.*, and effectively fakes up a type map which names all those files, assigning them the same media types and content-encodings it would have if the client had asked for one of them by name. It then chooses the best match to the client's requirements, and returns that document.
The MultiViewsMatch directive configures whether Apache will consider files that do not have content negotiation meta-information assigned to them when choosing files.