Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

web.config

$
0
0

I have created web.config under C:\inetpub\wwwroot\transpolar\employee\test folder with the following content:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<modules>
<remove name="CASiteMinderWebagentModule-32" />
<remove name="CASiteMinderWebagentModule" />
</modules>
<handlers>
<remove name="handler-wa-32" />
<remove name="handler-wa" />
<remove name="CASiteMinderWebAgentHandler-ccc-32" />
<remove name="CASiteMinderWebAgentHandler-scc-32" />
<remove name="CASiteMinderWebAgentHandler-kcc" />
<remove name="CASiteMinderWebAgentHandler-kcc-32" />
<remove name="CASiteMinderWebAgentHandler-scc" />
<remove name="CASiteMinderWebAgentHandler-ntc-32" />
<remove name="CASiteMinderWebAgentHandler-ntc" />
<remove name="CASiteMinderWebAgentHandler-fcc-32" />
<remove name="CASiteMinderWebAgentHandler-fcc" />
<remove name="CASiteMinderWebAgentHandler-ccc" />
</handlers>
<httpErrors errorMode="Detailed" />
</system.webServer>
</configuration>


I have another web.config file at C:\inetpub\wwwroot\ with the following content:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.web>
<identity impersonate="false" />
<customErrors mode="Off" />
</system.web>
<system.webServer>
<isapiFilters>
<clear />
<filter name="ASP.Net_2.0.50727-64" path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll" enabled="true" enableCache="true" preCondition="bitness64" />
<filter name="ASP.Net_2.0.50727.0" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enabled="true" enableCache="true" preCondition="bitness32" />
<filter name="jakarta" path="C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\bin\isapi_redirect.dll" enabled="true" enableCache="false" preCondition="bitness64" />
<filter name="SiteMinder Agent" path="C:\Program Files\CA\webagent\win64\bin\ISAPI6WebAgent.dll" enabled="true" preCondition="classicMode,bitness64" />
<filter name="SiteMinder Agent-32" path="C:\Program Files\CA\webagent\win32\bin\ISAPI6WebAgent.dll" enabled="true" preCondition="classicMode,bitness32" />
</isapiFilters>
<modules>
<add name="CASiteMinderWebagentModule" preCondition="integratedMode,bitness64" />
<add name="CASiteMinderWebagentModule-32" preCondition="integratedMode,bitness32" />
</modules>
<handlers>
<add name="handler-wa-32" path="*" verb="*" modules="IsapiModule" scriptProcessor="C:\Program Files\CA\webagent\win32\bin\ISAPI6WebAgent.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,bitness32" />
<add name="CASiteMinderWebAgentHandler-fcc-32" path="*.fcc" verb="*" modules="CASiteMinderWebagentModule-32" resourceType="Unspecified" preCondition="integratedMode,bitness32" />
<add name="CASiteMinderWebAgentHandler-ntc-32" path="*.ntc" verb="*" modules="CASiteMinderWebagentModule-32" resourceType="Unspecified" preCondition="integratedMode,bitness32" />
<add name="CASiteMinderWebAgentHandler-ccc-32" path="*.ccc" verb="*" modules="CASiteMinderWebagentModule-32" resourceType="Unspecified" preCondition="integratedMode,bitness32" />
<add name="CASiteMinderWebAgentHandler-scc-32" path="*.scc" verb="*" modules="CASiteMinderWebagentModule-32" resourceType="Unspecified" preCondition="integratedMode,bitness32" />
<add name="CASiteMinderWebAgentHandler-kcc-32" path="*.kcc" verb="*" modules="CASiteMinderWebagentModule-32" resourceType="Unspecified" preCondition="integratedMode,bitness32" />
<add name="handler-wa" path="*" verb="*" modules="IsapiModule" scriptProcessor="C:\Program Files\CA\webagent\win64\bin\ISAPI6WebAgent.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,bitness64" />
<add name="CASiteMinderWebAgentHandler-fcc" path="*.fcc" verb="*" modules="CASiteMinderWebagentModule" resourceType="Unspecified" preCondition="integratedMode,bitness64" />
<add name="CASiteMinderWebAgentHandler-ntc" path="*.ntc" verb="*" modules="CASiteMinderWebagentModule" resourceType="Unspecified" preCondition="integratedMode,bitness64" />
<add name="CASiteMinderWebAgentHandler-ccc" path="*.ccc" verb="*" modules="CASiteMinderWebagentModule" resourceType="Unspecified" preCondition="integratedMode,bitness64" />
<add name="CASiteMinderWebAgentHandler-scc" path="*.scc" verb="*" modules="CASiteMinderWebagentModule" resourceType="Unspecified" preCondition="integratedMode,bitness64" />
<add name="CASiteMinderWebAgentHandler-kcc" path="*.kcc" verb="*" modules="CASiteMinderWebagentModule" resourceType="Unspecified" preCondition="integratedMode,bitness64" />
</handlers>
</system.webServer>
</configuration>

Even though I removed my module from the list by specifying the remove tag, the requests are still coming to our module and getting processed. 

Can someone please throw somelight on how to get rid of  this problem ?


Thanks,

Shankar.


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>