You need to add the node in the web.config of <httpModules> the following parameters:
<httpModules>
<add name="WebsiteFilter" type="NetOpenSystem.Component.WebsiteFilter.HttpModule, NetOpenSystem.Component.WebsiteFilter"/>
</httpModules>


NetOpen_SystemWebsiteFilter.cfg.xml
Example as:
<?xml version="1.0" encoding="utf-8" ?>
<NetOpen_System>
<WebsiteFilter>
<PickedUrl IsBlacklist="0" ErrorPage="http://crm.zhongp.com/sorry.htm" CitySiteList="浙江省宁波市,浙江省杭州市" >
<add pattern="^~/default.aspx"/>
</PickedUrl>
<PickedIP>
<add ip1="124.160.0.0" ip2="124.160.255.255" />
<add ip1="220.191.0.0" ip2="220.191.255.255" />
</PickedIP>
</WebsiteFilter>
</NetOpen_System>

Last edited Jun 27, 2013 at 3:33 AM by hzpowerboy, version 2

Comments

No comments yet.