One of things we do weblogs.asp.net to make creating new blogs as simple as
possible is map all requests to the aspnet_isapi.dll. This enables the creation
of a new blog by adding a single entry in the database. Nothing else needs to
happen and the blog is now available on the entire cluster.
Mapping all requests to the aspnet_isapi.dll does come with a couple
caveats:
Default Documents no longer work
Static files need to be handled by ASP.Net
We'll save the rest for the next article :)
One of the nice advantages of using IIS 6.0 is the built in HttpCompression
actually works[1] . Well, works most of time. It turns out that not only does
mapping all requests to the aspnet_isapi cause default documents to
stop working, once you get them working (again, we will cover this in the
next article), they are no longer compressed. [2][3]
I spent some time tonight with Scott
Forsyth attempting to over come this issue. The good news it is
possible to HttpCompress "default documents". The bad news is you would
need to enable HttpCompression of every single document served by IIS on the
server. If it were at least configurable by site, it would probably work.[4]
So we discussed a couple of options/work arounds for this problem. I remember
Ben Lowery had written a
pretty simple HttpModule for HttpCompression. A quick google search not only
brought me to his site, but the first post is about an updated version that fixes a bunch
of bugs (such as the Server.Transfer issue). Sweet!
Hopefully, I will get it posted to this site by the weekend and report back
the results a couple of days later.