单项选择题

A.appcmd add app /app.name:contoso /path:/hr /physicalPath:c:\websites\hr
B.appcmd add site /name:hr /physicalPath:c:\websites\hr
C.appcmd add vdir /app.name:contoso /path:/hr /physicalPath:c:\websites\hr
D.appcmd set vdir /vdir.name:hr /path:/hr /physicalPath:c:\websites\hr

相关考题

单项选择题 You have a Windows Server 2008 server that has the Web Server (IIS) server role installed. The server hosts multiple Web sites.  You need to configure the server to automatically release memory for a single Web site. You must achievethis goal without affecting the other Web sites. What should you do?()

单项选择题 Your network contains a Windows Server 2008 server that has the Web Server (IIS) server role installed.  You have a Web application that uses a custom application pool. The application pool is set to recycle every 1,440 minutes. The Web application does not support multiple worker processes.  You need to configure the application pool to ensure that users can access the Web application after the application pool is recycled. What should you do?()

单项选择题 You have the Web Server (IIS) role installed on a server that runs Windows Server 2008.   You make changes to the configuration of an application named APP1. Users report that the application fails. You examine the event log and discover the following error message:  503 Service Unavailable.  You need to ensure that users are able to connect to APP1.  Which command should you run at the command prompt on the server?()