开发者

Get ASP within .html files to render on IIS Windows XP

I have IIS running under Windows XP. I have .html files with classic ASP content in them. Ho开发者_C百科w do I get the ASP within these .html files to render properly?


You need to tell IIS to treat .html as it does .asp.

In IIS Manager, select the application/site you want to modify (and this will impact every .html in that folder and subfolder, so be careful about scope), go to the "Home Directory"/"Virtual Directory" tab of the properties and select configuration.

Modify (or create) the mapping for .html to match that of .asp.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜