App_offline.htm, CSS, images, and aspnet_isapi.dll

后端 未结 2 1564
生来不讨喜
生来不讨喜 2021-02-07 21:11

So, the site I\'m working on is using urlrewriting in coordination with aspnet_isapi.dll (everything is mapped to it). I put up my app_offline.htm file, and all the text shows,

2条回答
  •  隐瞒了意图╮
    2021-02-07 21:49

    It's because if the webserver sees an App_Offline.htm file, it serves that file for every request in the site - even images. You have to serve images from another site. Or you can try something like this http://en.wikipedia.org/wiki/Data_URI_scheme

提交回复
热议问题