Place discuz In the BBS folder under the root directory of the website, and put DNT. config and web. config under the root directory. Web. config integrates the Web. config of the website.
Integration Method: Add the following content in Web. config:
<Location Path = "BBS" AllowOverride = "false">
<System. Web>
<Compilation
Defaultlanguage = "C #"
DEBUG = "true"
/>
<Authorization>
<Allow users = "*"/>
</Authorization>
<Trace
Enabled = "false"
Requestlimit = "10"
Pageoutput = "false"
Tracemode = "sortbytime"
Localonly = "true"
/>
<Customerrors mode = "off"/>
<Globalization requestencoding = "UTF-8" responseencoding = "UTF-8" fileencoding = "UTF-8"/>
<! -- Httpmodules section has been deleted -->
<! -- The following stylesheettheme = "" is newly added -->
<Pages enableviewstatemac = "false" enableeventvalidation = "false"
Validaterequest = "false" stylesheettheme = ""
Viewstateencryptionmode = "never"/>
<Xhtmlconformance mode = "Legacy"/>
<Httpruntime maxrequestlength = "2097151" executiontimeout = "3600"/>
<WebServices>
<Protocols>
<Add name = "httpget"/>
<Add name = "httppost"/>
</Protocols>
</WebServices>
</System. Web>
</Location>
Add <add type = "discuz. forum. httpmodule, discuz. forum "name =" httpmodule "/> note that this sentence should be placed at the end of the node.
Modify the <forumpath> node content in DNT. config to <forumpath>/BBS/</forumpath>.
In this way, the integration is complete.