Table of Contents

Who Is This Book For?
How This Book Is Organized
Conventions Used in This Book
Other Resources
1 IIS 7.0 Administration Overview
Working with IIS 7.0: What You Need to Know Right Now
Introducing IIS 7.0 Configuration Architecture
IIS 7.0 Configuration Schema
IIS 7.0 Global Configuration System
IIS 7.0 and Your Hardware
IIS 7.0 Editions and Windows
Web Administration Tools and Techniques
Managing Resources by Using Key Administration Tools
Web Administration Techniques
2 Deploying IIS 7.0 in the Enterprise
IIS 7.0 Protocols
IIS 7.0 Roles
Navigating the IIS 7.0 Role Services and Features
Role Services for Application Servers
Role Services for Windows Desktops and Web Servers
Role Services for Servers Running SharePoint Services
Setting Up IIS 7.0
Installing Application Servers
Installing Web Servers
Installing Windows SharePoint Services
Adding or Removing Web Server Features on Windows Vista . 53
Managing Installed Roles and Role Services
Viewing Configured Roles and Role Services
Adding or Removing Roles on Servers
Viewing and Modifying Role Services on Servers
3 Core IIS 7.0 Administration
Working with IIS and URLs
Understanding the Core IIS Architecture
Working with Web Sites
Working with Web Applications and Virtual Directories
Controlling Access to Servers, Sites, and Applications
Understanding the Services and Processing Architecture
Essential IIS Services and Processes
IIS Worker Process Isolation Mode
Understanding and Using IIS Applications
Understanding and Using ASP.NET Applications
Managing IIS Servers: The Essentials
Using Internet Information Services (IIS) Manager
Enabling and Configuring Remote Administration
Starting, Stopping, and Restarting All Internet Services
Managing Individual Resources in IIS Manager
Rebooting IIS Servers
Managing IIS Services
Starting, Stopping, and Pausing IIS Services
Configuring Service Startup
Configuring Service Recovery
4 Managing IIS 7.0 from the Command Line
Using the Windows PowerShell
Introducing the Windows PowerShell
Running and Using Windows PowerShell
Running and Using Cmdlets
Running and Using Other Commands and Utilities
Working with Cmdlets
Using Windows PowerShell Cmdlets
Using Cmdlet Parameters
Understanding Cmdlet Errors
Using Cmdlet Aliases
Using Cmdlets with IIS
Using the IIS Command-Line Administration Tool
Running and Using the IIS Command Line Administration Tool
Working with the IIS Command Line Administration Tool
Working with IIS Commands
Using Configuration Management Commands
Using Module Management Commands
Using Site Management Commands
Using Application Pool Management Commands
Using Application Management Commands
Using Virtual Directory Management Commands
Using Utility Commands
5 Managing Global IIS Configuration
Understanding Configuration Levels and Global Configuration
Managing Configuration Sections
Working with Configuration Sections
Determining Settings for a Configuration Section
Modifying Settings for a Configuration Section
Locking and Unlocking Configuration Sections
Clearing and Resetting Configuration Sections
Extending IIS with Modules
Controlling Native Modules through the Configuration Files
Controlling Managed Modules through the Configuration Files
Controlling Managed Handlers through the Configuration Files
Using the Configuration and Schema Files to Install Non-Standard Extension Modules
Managing Modules
Viewing Installed Native and Managed Modules
Installing Native Modules
Enabling Native Modules
Enabling Managed Modules
Editing Native and Managed Module Configurations
Disabling Native and Managed Modules
Uninstalling Native Modules
Sharing Global Configuration
Working with Shared Configurations
Exporting and Sharing Global Configuration
6 Configuring Web Sites and Directories
Web Site Naming and Identification
Understanding IP Addresses and Name Resolution
Understanding Web Site Identifiers
Hosting Multiple Sites on a Single Server
Checking the Computer Name and IP Address of Servers
Examining Site Configuration
Creating Web Sites
Creating a Web Site: The Essentials
Creating an Unsecured Web Site
Creating a Secured Web Site
Managing Web Sites and Their Properties
Working with Sites in IIS Manager
Configuring a Site’s Application Pool and Home Directory
Configuring Ports, IP Addresses, and Host Names Used by Web Sites
Restricting Incoming Connections and Setting Time-Out Values
Configuring HTTP Keep-Alives
Configuring Access Permissions in IIS Manager
Managing a Site’s Numeric Identifier and AutoStart State
Deleting Sites
Creating Directories
Understanding Physical and Virtual Directory Structures
Examining Virtual Directory Configuration
Creating Physical Directories
Creating Virtual Directories
Managing Directories and Their Properties
Enabling or Disabling Directory Browsing
Modifying Directory Properties
Renaming Directories
Changing Virtual Directory Paths, Logon Methods, and More
Deleting Directories
7 Customizing Web Server Content
Managing Web Content
Opening and Browsing Files
Modifying the IIS Properties of Files
Renaming Files
Deleting Files
Redirecting Browser Requests
Redirecting Requests to Other Directories or Web Sites
Redirecting All Requests to Another Web Site
Redirecting Requests to Applications
Customizing Browser Redirection
Customizing Web Site Content and HTTP Headers
Configuring Default Documents
Configuring Document Footers
Configuring Included Files
Using Content Expiration and Preventing Browser Caching
Using Custom HTTP Headers
Using Content Ratings and Privacy Policies
Improving Performance with Compression
Configuring Content Compression for an Entire Server
Enabling or Disabling Content Compression for Sites and Directories
Customizing Web Server Error Messages
Understanding Status Codes and Error Messages
Managing Custom Error Settings
Using MIME and Configuring Custom File Types
Understanding MIME
Viewing and Configuring MIME Types
Additional Customization Tips
Using Update Sites to Manage Outages
Using Jump Pages for Advertising
Handling 404 Errors and Preventing Dead Ends
8 Running IIS Applications
Managing ISAPI and CGI Application Settings
Understanding ISAPI Applications
Configuring ISAPI and CGI Restrictions
Configuring ISAPI Filters
Configuring CGI Settings
Managing ASP Settings
Controlling ASP Behavior
Customizing Request Handling for ASP
Optimizing Caching for ASP
Customizing COM+ Execution for ASP
Configuring Session State for ASP
Configuring Debugging and Error Handling for ASP
Managing ASP.NET Settings
Configuring Session State Settings for ASP.NET
Configuring SMTP E-Mail Settings
Configuring Key/Value Pairs for ASP.NET Applications
Configuring Settings for ASP.NET Pages and Controls
Connecting to Data Sources
Managing .NET Framework Settings
Configuring .NET Providers
Configuring .NET Trust Levels
Configuring .NET Profiles
Configuring .NET Roles
Configuring .NET Users
Configuring .NET Compilation
Configuring .NET Globalization
9 Managing Applications, Application Pools, and Worker Processes
Defining Custom Applications
Managing Custom IIS Applications
Viewing Applications
Configuring Default Settings for New Applications
Creating Applications
Converting Existing Directories to Applications
Changing Application Settings
Configuring Output Caching for Applications
Deleting IIS Applications
Managing ASP.NET and the .NET Framework
Installing ASP.NET and the .NET Framework
Deploying ASP.NET Applications
Uninstalling .NET Versions
Working with Application Pools
Viewing Application Pools
Configuring Default Settings for New Application Pools
Creating Application Pools
Changing Application Pool Settings
Assigning Applications to Application Pools
Configuring Application Pool Identities
Starting, Stopping, and Recycling Worker Processes Manually
Configuring Multiple Worker Processes for Application Pools
Configuring Worker Process Recycling
Recycling Automatically by Time and Number of Requests
Recycling Automatically by Memory Usage
Maintaining Application Health and Performance
Configuring CPU Monitoring
Configuring Failure Detection and Recovery
Shutting Down Idle Worker Processes
Limiting Request Queues
Deleting IIS Application Pools
10 Managing Web Server Security
Managing Windows Security
Working with User and Group Accounts
IIS User and Group Essentials
Managing the IIS Service Logon Accounts
Managing the Internet Guest Account
Working with File and Folder Permissions
Working with Group Policies
Managing IIS Security
Configuring Handler Mappings for Applications
Setting Authentication Modes
Setting Authorization Rules for Application Access
Configuring IPv4 Address and Domain Name Restrictions
Managing Feature Delegation and Remote Administration
11 Managing Active Directory Certificate Services and SSL
Understanding SSL
Using SSL Encryption
Using SSL Certificates
Understanding SSL Encryption Strength
Working with Active Directory Certificate Services
Understanding Active Directory Certificate Services
Installing Active Directory Certificate Services
Accessing Certificate Services in a Browser
Starting and Stopping Certificate Services
Backing Up and Restoring the CA
Configuring Certificate Request Processing
Approving and Declining Pending Certificate Requests
Generating Certificates Manually in the Certification Authority Snap-In . .
Revoking Certificates
Reviewing and Renewing the Root CA Certificate
Creating and Installing Certificates
Creating Certificate Requests
Submitting Certificate Requests to Third-Party Authorities
Submitting Certificate Requests to Certificate Services
Processing Pending Requests and Installing Site Certificates . .343
Working with SSL
Configuring SSL Ports
Adding the CA Certificate to the Client Browser’s Root Store
Confirming that SSL Is Correctly Enabled
Resolving SSL Problems
Ignoring, Accepting, and Requiring Client Certificates
Requiring SSL for All Communications
12 Performance Tuning, Monitoring, and Tracing
Monitoring IIS Performance and Activity
Why Monitor IIS?
Getting Ready to Monitor
Detecting and Resolving IIS Errors
Examining the Access Logs
Examining the Windows Event Logs
Examining the Trace Logs
Monitoring IIS Performance and Reliability
Using the Reliability And Performance Console
Choosing Counters to Monitor
Tuning Web Server Performance
Monitoring and Tuning Memory Usage
Monitoring and Tuning Processor Usage
Monitoring and Tuning Disk I/O
Monitoring and Tuning Network Bandwidth and Connectivity
Strategies for Improving IIS Performance
Removing Unnecessary Applications and Services
Optimizing Content Usage
Optimizing ISAPI, ASP, and ASP.NET Applications
Optimizing IIS Caching, Queuing, and Pooling
13 Tracking User Access and Logging
Tracking Statistics: The Big Picture
Working with the NCSA Common Log File Format
Working with the Microsoft IIS Log File Format
Working with the W3C Extended Log File Format
Working with ODBC Logging
Working with Centralized Binary Logging
Understanding Logging
Configuring Logging
Configuring Per-Server or Per-Site Logging
Configuring the NCSA Common Log File Format
Configuring Microsoft IIS Log File Format
Configuring W3C Extended Log File Format
Configuring ODBC Logging
Configuring Centralized Binary Logging
Disabling Logging
14 IIS Backup and Recovery
Backing Up the IIS Configuration
Understanding IIS Configuration Backups
Managing the IIS Configuration History
Viewing IIS Configuration Backups
Creating IIS Configuration Backups
Removing IIS Configuration Backups
Restoring IIS Server Configurations
Rebuilding Corrupted IIS Installations
Backing Up and Recovering Server Files
Turning on the Backup Feature
Working with Windows Server Backup
Setting Basic Performance Options
Scheduling Server Backups
Backing up a Server
Protecting a Server Against Failure
Recovering Files and Folders
Appendix Comprehensive IIS 7.0 Module and Schema Reference
Working with IIS 7.0 Modules
Introducing the Native Modules
Introducing the Managed Modules
IIS 7.0 Native Module Reference
IIS 7.0 Managed Module Reference



© Microsoft. All Rights Reserved.