Here is a simple command to list all your IIS sites and their different settings (bindings, authentication, etc)
appcmd list sites /text:*
The information that gets captured includes (sample):
SITE
SITE.NAME:"xxxx"
SITE.ID:"yy"
bindings:"http/*:80:xxxxx"
state:"Started"
[site]
name:"xxxx"
id:"yy"
serverAutoStart:"true"
[bindings]
[binding]
protocol:"http"
bindingInformation:"*:80:xxxxx"
[limits]
maxBandwidth:"4294967295"
maxConnections:"4294967295"
connectionTimeout:"00:02:00"
[logFile]
logExtFileFlags:"Date, Time, ClientIP, UserName, ServerIP, Method, UriStem, UriQuery, HttpStatus, Win32Status, TimeTaken, ServerPort, UserAgent, HttpSubStatus"
customLogPluginClsid:""
logFormat:"W3C"
directory:"C:\inetpub\logs\LogFiles"
period:"Daily"
truncateSize:"20971520"
localTimeRollover:"false"
enabled:"true"
[traceFailedRequestsLogging]
enabled:"false"
directory:"C:\inetpub\logs\FailedReqLogFiles"
maxLogFiles:"50"
maxLogFileSizeKB:"512"
customActionsEnabled:"false"
[applicationDefaults]
path:""
applicationPool:""
enabledProtocols:"http"
serviceAutoStartEnabled:"false"
serviceAutoStartProvider:""
[virtualDirectoryDefaults]
path:""
physicalPath:""
userName:""
password:""
logonMethod:"ClearText"
allowSubDirConfig:"true"
[ftpServer]
allowUTF8:"true"
serverAutoStart:"true"
[connections]
unauthenticatedTimeout:"30"
controlChannelTimeout:"120"
dataChannelTimeout:"30"
disableSocketPooling:"false"
serverListenBacklog:"60"
minBytesPerSecond:"240"
maxConnections:"4294967295"
resetOnMaxConnections:"false"
maxBandwidth:"4294967295"
[security]
[dataChannelSecurity]
matchClientAddressForPort:"true"
matchClientAddressForPasv:"true"
[commandFiltering]
maxCommandLine:"4096"
allowUnlisted:"true"
[ssl]
serverCertHash:""
serverCertStoreName:"MY"
ssl128:"false"
controlChannelPolicy:"SslRequire"
dataChannelPolicy:"SslRequire"
[sslClientCertificates]
clientCertificatePolicy:"CertIgnore"
useActiveDirectoryMapping:"false"
validationFlags:""
revocationFreshnessTime:"00:00:00"
revocationUrlRetrievalTimeout:"00:01:00"
[authentication]
[anonymousAuthentication]
enabled:"false"
userName:"IUSR"
password:""
defaultLogonDomain:"NT AUTHORITY"
logonMethod:"ClearText"
[basicAuthentication]
enabled:"false"
defaultLogonDomain:""
logonMethod:"ClearText"
[clientCertAuthentication]
enabled:"false"
[customAuthentication]
[providers]
[customFeatures]
[providers]
[messages]
exitMessage:""
greetingMessage:""
bannerMessage:""
maxClientsMessage:""
suppressDefaultBanner:"false"
allowLocalDetailedErrors:"true"
expandVariables:"false"
[fileHandling]
keepPartialUploads:"false"
allowReplaceOnRename:"false"
allowReadUploadsInProgress:"false"
[firewallSupport]
externalIp4Address:""
[userIsolation]
mode:"None"
[activeDirectory]
adUserName:""
adPassword:""
adCacheRefresh:"00:01:00"
[directoryBrowse]
showFlags:""
virtualDirectoryTimeout:"5"
[logFile]
logExtFileFlags:"Date, Time, ClientIP, UserName, ServerIP, Method, UriStem, FtpStatus, Win32Status, ServerPort, FtpSubStatus, Session, FullPath"
directory:"C:\inetpub\logs\LogFiles"
period:"Daily"
truncateSize:"20971520"
localTimeRollover:"false"
enabled:"true"
selectiveLogging:"LogSuccessful, LogError, LogInfrastructure"
[application]
path:"/"
applicationPool:"xxxx"
enabledProtocols:"http"
serviceAutoStartEnabled:"false"
serviceAutoStartProvider:""
[virtualDirectoryDefaults]
path:""
physicalPath:""
userName:""
password:""
logonMethod:"ClearText"
allowSubDirConfig:"true"
[virtualDirectory]
path:"/"
physicalPath:"e:\inetpub\wwwroot\xxxxx"
userName:""
password:""
logonMethod:"ClearText"
allowSubDirConfig:"true"
More info:
http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe
1 comment:
The Tory Burch Boots since extrusion, has obtained unprecedented successful and the widespread support, the short two weeks, on-line click rate crossed 1,000,000 people. Reputation striking international level shoes shoe brand designer Stuart Weitzman also pays attention to this charitable activity. Stuart the Weitzman expression appreciation "glitters 7X1" charitable project inspiration goddess Miss Li Jiaxin, thought that her makings graceful have the benevolence Tory Burch Flats.
In addition, Stuart Weitzman praises Shi Hualuo the world singular element to create and in art unceasing searches newly, the stimulation infinite inspiration, has been the international apex designers' creation first choice, oneself also frequently use the crystal element design shoes shoe, but this time is practiced by the brand the community responsibility the spirit to be moved positively, therefore uses thousand sparkle gorgeous Tory Burch Sandals the Luo river world singular element to make a pair of unique crystal shoes donate brand, makes charitable auction. Shi Hualuo the world singular element stimulates the infinite creativity Since 1895, Shi Hualuo the world singular element continuously in the crystal element domain for designer's first choice, and has had 116 Year radiant history which creates hand in hand with the international apex Tory Burch Flip Flops.
Post a Comment