

Site.create("mysite", 5050, r"C:\inetpub\wwwroot\myapp", "mypool") # site name, port number, app directory, app pool name nfig("DefaultAppPool", pipeline_mode="Classic") # note that small values ()like 10 seconds) are not allowed nfig("DefaultAppPool", identity="SpecificUser", username="my_username", password="my_pass") nfig("DefaultAppPool", identity="NetworkService") nfig("DefaultAppPool", identity="LocalSystem") nfig("DefaultAppPool", identity="LocalService") nfig("DefaultAppPool", identity="ApplicationPoolIdentity") nfig("DefaultAppPool", thirty_two_bit=False) You can configure the pool as in the following example:

Here is how you can retrieve a list of application pools and site:Īs you can see, by default, a 4.0 pool with integrated mode is created. Print("iis version %s" % iis.get_version())
#CALCSERVICE INSTALLATION INSTALL#
Iis_bridge can install iis for you as shown below: Important: You must run python in a terminal with administrator privileges in order to use most of the iis operations. Iis_bridge has been tested with python 2.7 on: Iis_bridge is a python package for manipulating IIS and monitoring iis pools' memory on windows. Iis_bridge - A python package for managing iis iis_bridge Documentation
