Questions tagged [iis]

IIS is Internet Information Services, the web server included with Microsoft's Windows Server operating systems. This is a generic tag. Wherever possible please use a *version-specific* tag, such as [iis-7], [iis-7.5], etc.

IIS is Internet Information Services, the web server included with Microsoft's Windows and Windows Server operating systems.

This is a generic tag. Wherever possible please use a version-specific tag such as:

  • on Windows Server 2016 and Windows 10
  • on Windows Server 2012 R2 and Windows 8.1
  • on Windows Server 2012 and Windows 8
  • on Windows Server 2008 R2 and Windows 7
  • on Windows Server 2008 and Windows Vista
  • on Windows Server 2003 and Windows Server 2003 R2; Windows XP x64 Professional (END-OF-LIFE)
  • on Windows 2000 and Windows XP Professional (END-OF-LIFE)

It is also recommended that you tag your questions with the appropriate windows-version tags.


IIS 7 and newer versions are built on a modular architecture, plugging in to the kernel-mode HTTP.SYS listener. User-mode Modules can be added or removed individually so that only modules required for specific functionality have to be installed.

IIS includes these module groups:

  • HTTP (request-processing pipeline, errors, redirects)
  • security
  • content
  • compression
  • caching
  • logging and diagnostics

The IIS Manager (INETMGR) is the IIS administrative GUI.

The command-line utility "AppCmd" provides a scriptable interface to the IIS configuration data.

The PowerShell WebAdministration module is included with IIS 7.5+.

The newer PowerShell IISAdministration module is included in IIS 10+. It is the only IIS PS Admin module supported on Nano server at the time of release.

5327 questions
9
votes
1 answer

IIS URL Rewrite Module Query String Parameters

Is it possible to use URL Rewrite to provide more complex query string functionality than the "Append query string" checkbox that it has? Specifically, is it possible to specify the keys for certain query string parameters and have it only append…
Jason Kresowaty
  • 501
  • 2
  • 6
  • 20
9
votes
2 answers

Multiple paths in php.ini open_basedir on Windows

I'm attempting to use multiple paths for my php open_basedir config value, in php.ini on a windows server. The line I'm using is: open_basedir = E:/Websites;C:/PHP/includes/ Unfortunately, it's ignoring the second entry. Whenever I try to execute…
Hippyjim
  • 211
  • 2
  • 7
  • 19
9
votes
1 answer

When does IIS log a request?

This sounds silly, but when do they log requests? I have a web application, and about 500 HTTP proxies that will load up that application. But problem is sometimes (and this morning a lot), the proxy (using php sockets) believes it connected and the…
Jeremy Boyd
  • 606
  • 1
  • 10
  • 17
9
votes
1 answer

How to manually run application as "IIS APPPOOL\MyAppPool" user

I tried: runas /noprofile /user:"IIS APPPOOL\MyAppPool" cmd.exe But it asks me for a password. My admin password does not work there. I get: RUNAS ERROR: Unable to acquire user password
mnaoumov
  • 201
  • 2
  • 5
9
votes
1 answer

Date header returned by IIS7 is wrong

I am serving an ASP.NET application from IIS 7 but we are experiencing some weird cookie issues. The code works fine in other environments so we are assuming this is specific to this server (related question). We have been looking at the http…
9
votes
2 answers

IIS 7 - IP Address Range Restriction

I'm trying to setup an IP address range. It's asking for: A) IP Address Range (but it will only accept a normal IP address) B) Mask or Prefix I need to allow 192.168.100.100 - 192.168.100.120 How can I make that happen?
Brian Webster
  • 1,123
  • 1
  • 18
  • 39
9
votes
1 answer

IIS 7 Application Pool Identity permissions

In the vein of this question. Other questions have touched on this, but let's get a complete answer down: What specific permissions are necessary for a generic IIS 7 site with a domain user as the app pool identity? What specific permissions are…
sh-beta
  • 6,838
  • 7
  • 47
  • 66
8
votes
3 answers

The great Vanishing Act of INetMgr.exe on my Windows 7 x64 system

I'm facing an odd issue with the IIS Manager on Windows 7 (x64). At home, I have Win7 Professional, and when I check my IIS manager icon in the start menu, I see it links to %windir%\system32\inetsrv\InetMgr.exe When I launch this from the command…
marc_s
  • 1,152
  • 4
  • 21
  • 35
8
votes
2 answers

Is It OK to Use AD Issued Computer Certificates for IIS?

I'm using AD-Certificate Services to issue computer certificates to domain joined Windows computers(both servers and workstations). These certs are obtained via the auto-enroll process defined by Active Directory. My question is: if these computer…
aaron
  • 81
  • 4
8
votes
4 answers

IIS Optimization

What kind of optimization (performance or whatever) do you use when going live with IIS (on windows 2003) ? Currently, I use 1 application pool per web site, but I think I can do more :)
mathieu
  • 335
  • 3
  • 9
8
votes
4 answers

530 Valid hostname is expected when setting up IIS 10 for multiple sites

I've configured IIS to have multiple FTP sites, using the instructions found here: https://docs.microsoft.com/en-us/iis/publish/using-the-ftp-service/using-ftp-virtual-host-names-in-iis-7 See the configuration I ended up with below. In IIS I've…
Adam
  • 247
  • 3
  • 4
  • 16
8
votes
2 answers

How to configure IIS wildcards for account subdomains (like Basecamp)?

In effect I'm working on a SaaS application where I want to give subscribers their own subdomain to access their information (in code I will be pulling the first part of the subdomain for use as their account name), similar to how Basecamp et all…
Wayne Molina
  • 915
  • 4
  • 13
  • 24
8
votes
3 answers

How do I install Powershell's IISAdministration Module

Windows Server 2016 comes with a shiny new module named IISAdministration. But when I try to load the module I get the error that 'no valid module file was found'. It is not on the powershell gallery and google does not find a download on the…
Mark Arnott
  • 992
  • 5
  • 10
  • 18
8
votes
2 answers

Where is the Execute Permissions function in IIS7

In IIS6 or below where on a folder you want to block any files that would normally be handled by a script processor such as asp.dll, you would open the properties dialog for that folder in IIS manager then on the directory tab under application…
AnthonyWJones
  • 225
  • 1
  • 4
  • 7
8
votes
1 answer

How does HTTP OPTIONS method determine allowed methods in IIS 8.5?

I'm looking to remove the TRACE method from my web site in IIS 8.5 (Windows Server 2012 R2 Datacenter). I have implemented this using request filtering as below:
alergy
  • 183
  • 1
  • 1
  • 6