开发者

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

开发者 https://www.devze.com 2022-12-27 11:17 出处:网络
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 .htm

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

精彩评论

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

关注公众号