IIS6,Asp.net2.0配置主目录的扩展名 .gif GET,HEAD 使用asp.net的isapi进行处理。项目中配置了httphandler专门处理某一目录下的图片。配置完成后,该目录下的图片能够正常显示,但是其他目录下的图片无法访问到。XP下开发可以正常显示,部署到2003上同样配置isapi就不行呢。    <location path="Images/Dynamic">
        <system.web>
            <httpHandlers>
                <remove verb="*" path="*.gif"/>
                <add verb="GET,HEAD" path="*.gif" type="MarsorStudio.CarSharing.Web.MarsorImageRedirector,CarSharingWeb"/>
                <add verb="GET,HEAD" path="*.jpg" type="MarsorStudio.CarSharing.Web.MarsorImageRedirector,CarSharingWeb"/>
                <add verb="GET,HEAD" path="*.jpeg" type="MarsorStudio.CarSharing.Web.MarsorImageRedirector,CarSharingWeb"/>
                <add verb="GET,HEAD" path="*.png" type="MarsorStudio.CarSharing.Web.MarsorImageRedirector,CarSharingWeb"/>
                <add verb="*" path="*" type="System.Web.HttpForbiddenHandler"/>
            </httpHandlers>
        </system.web>
    </location>