Configure IIS 7 to host a Relay Server.
Insert the following snippet in the <applicationPools> collection:
<add name="RelayServer" queueLength="65535" autoStart="true" managedRuntimeVersion="" managedPipelineMode="Integrated"> <processModel identityType="LocalSystem" idleTimeout="00:00:00" maxProcesses="20" pingingEnabled="false" pingInterval="00:00:30" pingResponseTime="00:01:30" /> <recycling disallowOverlappingRotation="true"> <periodicRestart time="00:00:00"> <schedule> <clear /> </schedule> </periodicRestart> </recycling> <failure rapidFailProtection="false" /> <cpu resetInterval="00:00:00" /> </add>
Insert the following snippet in the <site name="Default Web Site"> element:
<application path="/ias_relay_Server" applicationPool="RelayServer"> <virtualDirectory path="/" physicalPath="C:\Inetpub\wwwroot\ias_relay_server" /> </application>
Insert the following snippet in the <isapiCgiRestriction> collection.
<add path="C:\Inetpub\wwwroot\ias_relay_server\Client\rs_client.dll" allowed="true" /> <add path="C:\Inetpub\wwwroot\ias_relay_server\Server\rs_server.dll" allowed="true" />
Insert the following snippet in the <configuration> element.
<location path="Default Web Site/ias_relay_server/client"> <system.webServer> <handlers accessPolicy="Execute, Script"> </handlers> </system.webServer> </location> <location path="Default Web Site/ias_relay_server/server"> <system.webServer> <handlers accessPolicy="Execute, Script"> </handlers> </system.webServer> </location> <location path="Default Web Site/ias_relay_server"> <system.webServer> <security> <authentication> <anonymousAuthentication userName="" /> </authentication> <requestFiltering> <requestLimits maxAllowedContentLength="2147483647" /> </requestFiltering> </security> </system.webServer> </location>