免费下载Discuz!NT 3.1 正式版 分流下载 IT下载 站长站 硅谷动力 A5 51aspx 火炬服务岁末特惠,名额有限预购从速! API测试控制台官方演示
V5Shop整合Discuz!NT 3.0.0最新版 Discuz!NT 官方专用虚拟主机 动网用户的福音,后续服务的保障 Discuz!NT新版聚合首页预览

如何修改web.config才能让他和极速系统共存

[ 8040 查看 / 12 回复 ]

回复:如何修改web.config才能让他和极速系统共存

  1.       <!--  注意:此节设置全球化,Discuz!NT由此支持多语言。 -->
  2.     <globalization
  3.             requestEncoding=&quot;utf-8&quot;
  4.             responseEncoding=&quot;utf-8&quot;
  5.             fileEncoding=&quot;utf-8&quot;
  6.     />

  7.  
  8.     <!--  注意:此节设置是否使用ASP.net表单安全验证,Discuz!NT使用自己的验证。-->
  9.     <pages  validateRequest=&quot;false&quot;  />


  10.     <!--  注意:此节设置由Discuz!NT接管http请求。不会干涉对非Discuz!NT论坛路径下的请求。 -->
  11.     <httpModules>
  12.         <add type=&quot;Discuz.Forum.HttpModule, Discuz.Forum&quot; name=&quot;HttpModule&quot; />
  13.     </httpModules>

  14. </system.web>
复制代码
复制到 极速 web.config 里的 <system.web> </system.web>中间 试试看
看到的去帮我点那个google广告啊www.cnblogs.com/zjneter
TOP

回复:如何修改web.config才能让他和极速系统共存

提示如下: Server Error in '/' Application. -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off". <!-- Web.Config Configuration File --> <configuration>     <system.web>         <customErrors mode="Off"/>     </system.web> </configuration> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL. <!-- Web.Config Configuration File --> <configuration>     <system.web>         <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>     </system.web> </configuration>
莫丁工作室 http://www.moding.net记录精彩 成就梦想
TOP

回复:如何修改web.config才能让他和极速系统共存

综合多种方法已经解决!
莫丁工作室 http://www.moding.net记录精彩 成就梦想
TOP