Godaddy 虚拟主机windows系统, 配置文件web.config 不知道怎么写,网页打开总是出错Security Exception
<?xmlversion="1.0"encoding="utf-8"?><configuration><!--appSettings网站信息配置--><appSettin...
<?xml version="1.0" encoding="utf-8"?><configuration> <!-- appSettings网站信息配置--> <appSettings> <add key="Configpath" value="~/xmlconfig/site.config" /> <add key="Urlspath" value="~/xmlconfig/urls.config" /> <add key="Userpath" value="~/xmlconfig/user.config" /> <add key="Orderpath" value="~/xmlconfig/order.config" /> <add key="DbPath" value="~/App_Data/DTcmsdb4.mdb"/> </appSettings> <!-- 数据库连接字符串--> <connectionStrings> <add name="ConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" /> </connectionStrings> <system.web> <compilation targetFramework="4.0" /> <customErrors mode="Off"/> <httpModules> <add type="DTcms.Web.UI.HttpModule, DTcms.Web.UI" name="HttpModule" /> </httpModules> <httpHandlers> <add verb="*" path="templates/main/*.html" type="System.Web.HttpForbiddenHandler" /> </httpHandlers> <!-- 文件上传大小KB--> <httpRuntime requestValidationMode="2.0" maxRequestLength="512000" executionTimeout="3600" /> </system.web> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules runAllManagedModulesForAllRequests="true"> <add type="DTcms.Web.UI.HttpModule, DTcms.Web.UI" name="HttpModule" /> </modules> <security> <requestFiltering> <requestLimits maxAllowedContentLength="50000000" /> </requestFiltering> </security> </system.webServer></configuration>这个文件其他windows系统都可以的,错误提醒在附件图片上配置文件应该怎么写呢才能匹配Godaddy虚拟主机?请大神赐教,谢谢!
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询