From 0d1823ca88fd184bb0c84f4de1838ebafa54c5ea Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期五, 02 二月 2024 16:06:42 +0800
Subject: [PATCH] 1

---
 WebTM/Web.config |   33 ++++++++++++++++++++++++---------
 1 files changed, 24 insertions(+), 9 deletions(-)

diff --git a/WebTM/Web.config b/WebTM/Web.config
index 9b3d4d9..3903a18 100644
--- a/WebTM/Web.config
+++ b/WebTM/Web.config
@@ -1,14 +1,29 @@
-锘�<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
 <!--
   鏈夊叧濡備綍閰嶇疆 ASP.NET 搴旂敤绋嬪簭鐨勮缁嗕俊鎭紝璇疯闂�
   http://go.microsoft.com/fwlink/?LinkId=169433
   -->
 <configuration>
-  <system.web>
-    <compilation debug="true" targetFramework="4.5" />
-    <httpRuntime targetFramework="4.5" />
-  </system.web>
-  <appSettings>
-    <add key="Name" value="61.130.49.162:9090/WMSAPI///"/>
-  </appSettings>
-</configuration>
\ No newline at end of file
+	<system.web>
+		<compilation debug="true" targetFramework="4.5" />
+		<httpRuntime targetFramework="4.5" maxQueryStringLength="102400" />
+	</system.web>
+	<appSettings>
+		<add key="Name" value="61.130.49.162:9090/WMSAPI///" />
+	</appSettings>
+	<system.webServer>
+		<staticContent>
+			<remove fileExtension=".grf" />
+			<mimeMap fileExtension=".grf" mimeType="text/xml" />
+		</staticContent>
+        <handlers>
+            <remove name="StaticFile" />
+            <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule" resourceType="Either" requireAccess="Read" />
+        </handlers>		
+		<security>
+			<requestFiltering>
+				<requestLimits maxAllowedContentLength="10485760" maxQueryString="10485760" /> <!--璁剧疆鍙傛暟鍐呭鐨勬渶澶ч暱搴︿负10MB锛岄粯璁ゆ槸4MB,鏈�澶ф敮鎸�2GB-->
+			</requestFiltering>
+    	</security>
+	</system.webServer>
+</configuration>

--
Gitblit v1.9.1