问题描述
我在win 7 home premium上启用/安装了IIS,希望能够在我的comp上运行asp页面。
I enabled/installed IIS on my win 7 home premium hoping to be able to run asp pages on my comp.
我有两个问题没有知道如何地址:
There are two issues that I don't know how address:
1-我在IIS管理器中看不到默认网站
2-我没有绑定下的http选项
1- I don't see the Default Website in the IIS Manager2- I don't have http option under binding
这就是我做的......
This is what I did...
我启用/安装了IIS 7.5
I enabled/installed IIS 7.5
控制面板 - 程序 - 打开或关闭Windows功能
检查Intenet信息服务下的所有内容
检查Intenet信息服务可托管Web核心下的所有内容
Control Panel - Programs - Turn Windows Features On or Offchecked everything under "Intenet Information Services"checked everything under "Intenet Information Services Hostable Web Core"
我打开IIS管理器并看到三个窗格(窗口):
I open the IIS Manager and see three panes (windows):
左边的连接
功能或内容视图在中间部分
右边的操作
Connections on the leftFeatures or Content view in the middle sectionActions on the right
这是我的问题#1:我知道为什么我在连接窗格中看不到任何默认网站?
This is my question # 1: Any idea why I don't see any default site in the connections pane?
服务器名称
应用程序池
站点(文件夹)
* ** * 这里什么都没有! * ** *
Server nameApplication PoolsSites (folder)**** nothing here !!! ****
我的问题#2与绑定有关...当我想建立一个新网站时,我会执行以下操作:
My question #2 relates to binding... when I want to set up a new site, I do the following:
(在操作窗格中) - 添加网站
网站名称:
应用程序池:ASP .NET v4.0
物理路径:C:\inetpub \wwwroot \testsite
(in Actions pane) - add web sitesite name:app pool: ASP .NET v4.0Physical path: C:\inetpub\wwwroot\testsite
在绑定类型下,这些是选项我看到......但是没有可用的http选项。
Under binding type, these are the options that I see... but there's no http option available.
绑定类型:
- net.tcp
- net.pipe
- net.msmq
- msmq.formatname
Binding type:- net.tcp- net.pipe- net.msmq- msmq.formatname
知道为什么和/或如何使用http选项?
Any idea why and/or what to do to have http option available?
我应该提一下,我在我的comp上运行xampp 1.8.0以及80端口。
127.0.0.1:80。
I should probably mention that I am running xampp 1.8.0 on my comp as well on port 80.127.0.0.1:80.
任何提示或建议都表示赞赏!
Any tips or suggestions are appreciated!
谢谢!
推荐答案
我遇到了同样的问题,唯一的解决方案是:
I had the same issue and the only solution was:
-
删除WAS(Windows激活服务)
Remove WAS (Windows Activation Services)
删除IIS
重新启动
安装WAS
安装IIS
重新启动
打开IIS并查看包含HTTP和HTTPS绑定的默认网站
open the IIS and see the default web site with both HTTP and HTTPS bindings
这篇关于IIS 7.5 - 没有默认站点/没有http绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!