Bootstrap in IIS
Does anyone know how I can bootstrap in IIS? If I register the bootstrap.php file as the default 404 page in IIS, the bootstrap will be called everytime something is missing. For example, after doing testing, I noticed that if you have an image missing in a page, IIS dispatches a 404 event. While this does not display a 404 page to the user, it makes the bootstrap file get because IIS dispatched a 404 event and I told IIS to use the bootstrap file for 404's.
I really noticed this when Zend Platform was recording tons of events to the bootstrap file. One request to a page, and I would get 8 events recorded in ZendPlatform for the bootstrap file because I had 8 missing images in my page.
|