A gotcha with 404 error pages under IIS

I was just testing the site and ran into a problem with Flash image loading. I found that when loading a nonexistent file, Flash still reports progress info, and after reaching 100% it shows nothin...

Backend Server

The file is clearly there, yet require_once(./*.php) throws an error

Problem description:Right after installing PMA, accessing it in Firefox shows a blank page with no output at all. In IE you can see a 500 error (Internal Server Error). Turn on error reporting and you find this: Warning: require_once(./libraries/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in ***\mousebomb\pma\index.php on line 35 Fatal error: require_once() [function.require]: Failed opening required ‘./libraries/common.inc.php’ (include_path=’.;C:\php5\pear’) in ***\mousebomb\pma\index.php on line 35 And yet the file really does exist, and IUSR (the IIS anonymous access user) has permission on it.

Backend Server

WordPress permalinks under wimp

Not long ago I switched from LAMP to WIMP (windows2k3+iis6+mysql5.2+php5.2), and WordPress lost two important features: one is permalinks (static URLs), and the other is email sending. I’ve just perfectly solved the permalink problem, so I’ll share the method. (A so-called permalink is something like http://www.flashj.cn/wp/wimp-wordpress-permalink.html这样的格式) Because Windows doesn’t support .htaccess, to do rewrite you need to download an ISAPI_Rewrite component to implement rewriting. I tried it, and personally I didn’t find the result very ideal.

Backend Server

The ASP file clearly exists, yet it shows a 404 error—can IIS not display ASP?

Ran into this weird problem today — guess I’ve been living under a rock… ASP files wouldn’t load… showing a 404 error, but non-ASP files like logo.jpg opened just fine. Any file that was .asp gave ...

Backend Server