PHP/IIS index page must be explicitly specified to use GET vars?
January 20, 2006 12:57 PM
Subscribe
PHP under IIS doesn't serve default content page (index.php) when only GET variables are passed? e.g., /directory/?myvar=foobar ...I have a custom 404 error configured, and IIS is set to confirm file exists.
I just installed WordPress 2.0, and it works great, except for when it tries to pass GET variables straight to its base URL, which is just /directory/, not /directory/index.php. The error returned is, predictably, "The specified file could not be found." which is what IIS throws when you call a non-existant php page unless you have "confirm file exists" flagged, which I do.
I have mod_rewrite installed, but do not speak regexp (I know, I should). Would it be possible to rewrite calls to this directory to append index.php? Could someone please provide the regular expression?
Or another solution?
(And yes, I know I'm doing a tricked-out tango with IIS and PHP, but CTO won't let me get a *nix box. )
posted by CaptApollo to computers & internet (5 comments total)
posted by kindall at 1:06 PM on January 20, 2006