Skip to content

Instantly share code, notes, and snippets.

@mbaitelman
Created April 26, 2018 21:52
Show Gist options
  • Save mbaitelman/20105fd50f6e9484d2f06de5f464bdc7 to your computer and use it in GitHub Desktop.
Save mbaitelman/20105fd50f6e9484d2f06de5f464bdc7 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<appcmd>
<SITE SITE.NAME="Default Web Site" SITE.ID="1" bindings="http/*:80:,https/*:443:,net.tcp/808:*,net.pipe/*,net.msmq/localhost,msmq.formatname/localhost,https/*:44301:" state="Started">
<site name="Default Web Site" id="1" serverAutoStart="true">
<bindings>
<binding protocol="http" bindingInformation="*:80:" sslFlags="0" />
<binding protocol="https" bindingInformation="*:443:" sslFlags="0" />
<binding protocol="net.tcp" bindingInformation="808:*" sslFlags="0" />
<binding protocol="net.pipe" bindingInformation="*" sslFlags="0" />
<binding protocol="net.msmq" bindingInformation="localhost" sslFlags="0" />
<binding protocol="msmq.formatname" bindingInformation="localhost" sslFlags="0" />
<binding protocol="https" bindingInformation="*:44301:" sslFlags="0" />
</bindings>
<limits maxBandwidth="4294967295" maxConnections="4294967295" connectionTimeout="00:02:00" maxUrlSegments="32" />
<logFile logExtFileFlags="Date, Time, ClientIP, UserName, ServerIP, Method, UriStem, UriQuery, HttpStatus, Win32Status, TimeTaken, ServerPort, UserAgent, Referer, HttpSubStatus" customLogPluginClsid="" logFormat="W3C" logTargetW3C="File" directory="C:\Logs\IIS-Logs" period="Hourly" truncateSize="20971520" localTimeRollover="false" enabled="true" logSiteId="true" flushByEntryCountW3CLog="0" maxLogLineLength="65536">
<customFields maxCustomFieldLength="4096" />
</logFile>
<traceFailedRequestsLogging enabled="false" directory="C:\inetpub\logs\FailedReqLogFiles" maxLogFiles="50" maxLogFileSizeKB="1024" customActionsEnabled="false" />
<applicationDefaults path="" applicationPool="" enabledProtocols="http" serviceAutoStartEnabled="false" serviceAutoStartProvider="" preloadEnabled="false" />
<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 />
</customAuthentication>
</authentication>
<customAuthorization>
<provider name="" enabled="true" />
</customAuthorization>
</security>
<customFeatures>
<providers />
</customFeatures>
<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" />
</userIsolation>
<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" />
</ftpServer>
<application path="/" applicationPool="DefaultAppPool" enabledProtocols="http,net.tcp" serviceAutoStartEnabled="false" serviceAutoStartProvider="" preloadEnabled="false">
<virtualDirectoryDefaults path="" physicalPath="" userName="" password="" logonMethod="ClearText" allowSubDirConfig="true" />
<virtualDirectory path="/" physicalPath="C:\inetpub\wwwroot" userName="" password="" logonMethod="ClearText" allowSubDirConfig="true" />
<virtualDirectory path="/content" physicalPath="C:\Document Root\content" userName="" password="" logonMethod="ClearText" allowSubDirConfig="true" />
<virtualDirectory path="/css" physicalPath="C:\Document Root\css" userName="" password="" logonMethod="ClearText" allowSubDirConfig="true" />
<virtualDirectory path="/html" physicalPath="C:\Document Root\html" userName="" password="" logonMethod="ClearText" allowSubDirConfig="true" />
<virtualDirectory path="/images" physicalPath="C:\Document Root\images" userName="" password="" logonMethod="ClearText" allowSubDirConfig="true" />
<virtualDirectory path="/js" physicalPath="C:\Document Root\js" userName="" password="" logonMethod="ClearText" allowSubDirConfig="true" />
<virtualDirectory path="/plugin" physicalPath="C:\Document Root\plugin" userName="" password="" logonMethod="ClearText" allowSubDirConfig="true" />
</application>
</site>
</SITE>
</appcmd>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment