Is this because of the particular script in the back of WordPress or can anyone use this to send anything not a file or dir to a script with .?/.* without worrying about looping?
Good question. It's because of the !-f and !-d (does not exist as a file or directory) is used to prevent looping (WP's index.php is the target of the redirection). As for .?/.*, WP uses (.*) but only needs .? as it ignores the {REQUEST_URI} variable - it reads the {REQUEST_FILENAME} and fetches necessary modules (to handle the request) based on its contents.
Also I'm confused about
multiviews-- if the file you're looking for doesn't exist, apache looks for anything starting with the name you asked for... (though I remember by husband saying he used it to ask for different language-versions of pages)
MultiViews is used to fetch the page script when it's used in the middle of a URI (in the place normally reserved for a directory). To my knowledge (limited because I won't use this "thing"), it will not cause Apache to wonder off looking for something else to match/serve (to look for mod_negotiation - I don't fully understand that either but matching the language specified by the browser is a primary purpose).
do you mean because if page.php is a file then page.php/page4 is something Apache has to figure out because page.php isn't a dir?
[indent]Try it out! If you DON'T have MultiViews enabled, then page.php IS a request for a directory and the result should be a 404. With MultiViews, page.php is served (and it's up to page.php to parse the {REQUEST_FILENAME} for the "filename" to know what to do with the request.
Bookmarks