The setup: Win2K / IIS, PHP 4.1.1 I've got a large intranet site that will soon be using PHP-based password validation.
if the login information (cookie data) is not present, the page spits out a quick form, which submits back to $PHP_SELF for validation. Nothing special. IIS has default document enabled, such that going to site.com/audit/ is the same as going to site.com/audit/default.php. Again, nothing special. Here's the weird thing: if you only type in the directory name like site.com/audit/ and try to log in, you get a 405:Method Not Allowed error when you submit your username and password. The action= section of the form still has the explicit document name there ("action='default.php'"), so why on earth does it do that? All I have to do is type in the "default.php" and resubmit the form and it works just fine. Shouldn't the two cases be essentially the same? Does anyone have any insight on this? Thanks. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php