如何在 Web 服务器上启用 ASP?
看起来我的服务器禁用了 ASP,因为当尝试查看 ASP 文件时,其源代码显示在浏览器中。经过一些研究后,我听说我可以使用 IIS 在我的服务器上启用 ASP - 这是正确的吗?我已经尽可能在 IIS 中建立了我的网站;它没有要求我提供 FTP 详细信息或任何内容,所以我不知道它将如何“安装 ASP”...我已通过控制面板启用 ASP,因此它出现在 IIS 中,但不知道下一步该去哪里。我的方向正确吗?谁能给我一些建议,因为我不确定我是否在正确的方向上吠叫。非常感谢。
It looks like my server has ASP disabled because when trying to view an ASP file its source code is shown in the browser. After doing some research I've heard I can enable ASP on my server using IIS - is this correct? I've set up my website in IIS as far as I could; it's not asked me for FTP details or anything so I don't know how it's going to 'install ASP'... I've enabled ASP via the Control Panel so it appears within IIS, but don't know where to go next. Am I headed in the right direction?, could anyone give me some advice as I'm not sure if I'm barking up the right tree. Many thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我刚刚在我的 Windows 7 Professional 机器上尝试过这个。当我使用“添加 Windows 功能”添加该功能并刷新 IIS 管理器后,经典 ASP 就出现在处理程序映射中。
I just tried this on my Windows 7 Professional box. Once I added the feature using "Add Windows Features", and refreshed IIS Manager, Classic ASP just showed up in the handler mappings.
确保 IIS 中 ASP 的行为部分中的 Enable Parent Path = true。
Make sure Enable Parent Path = true in behavior Section of ASP in IIS.
进入您的程序>窗口功能。找到 IIS,然后转到 www 服务。您应该在那里看到 ASP。您可能还必须在 IIS 中启用它 - 您没有提到您正在使用的 IIS(或操作系统)版本,所以我将其留给您。
Go into your programs > windows features. Find IIS, and go to www services. You should see ASP there. You may have to enable it in IIS as well - you haven't mentioned what version of IIS you're using (or OS), so I'll leave that up to you.