From a51d070d364b0da8e5f8ea9203a6e50c8b4c0af3 Mon Sep 17 00:00:00 2001
From: wanglizhong <wlz>
Date: 星期三, 09 七月 2025 22:06:34 +0800
Subject: [PATCH] feat(派单模块): 添加敏感信息隐藏功能

---
 web.config |   26 +++++++++++++++++++++-----
 1 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/web.config b/web.config
index 2930d14..bf26950 100644
--- a/web.config
+++ b/web.config
@@ -1,6 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <configuration>
+    <system.web>
+        <compilation debug="true" targetFramework="4.7.2" />
+        <httpRuntime targetFramework="4.7.2" />
+        <authentication mode="Windows" />
+        <identity impersonate="true" />
+    </system.web>
     <system.webServer>
+        <fastCgi>
+            <application fullPath="D:\project\鎬ユ晳杞繍\code\php\php-cgi.exe" monitorChangesTo="php.ini" activityTimeout="600" requestTimeout="600" instanceMaxRequests="10000">
+                <environmentVariables>
+                    <environmentVariable name="PHP_FCGI_MAX_REQUESTS" value="10000" />
+                    <environmentVariable name="PHPRC" value="D:\project\鎬ユ晳杞繍\code\php" />
+                </environmentVariables>
+            </application>
+        </fastCgi>
         <defaultDocument>
             <files>
                 <remove value="default.aspx" />
@@ -15,12 +29,14 @@
         <handlers>
             <remove name="php" />
             <remove name="FastCGI" />
-            <add name="gds" path="*.gds" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\System32\inetsrv\asp.dll" resourceType="File" preCondition="bitness64" />
-            <add name="FastCGI" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="D:\project\鎬ユ晳杞繍\code\php\php-cgi.exe" resourceType="File" requireAccess="Script" />
-            
+            <add name="php" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="D:\project\鎬ユ晳杞繍\code\php\php-cgi.exe" resourceType="File" requireAccess="Script" />
+            <add name="gds" path="*.gds" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" requireAccess="Script" preCondition="bitness64" />
         </handlers>
         <httpErrors errorMode="DetailedLocalOnly" />
-       
-      
+        <security>
+            <requestFiltering>
+                <requestLimits maxAllowedContentLength="30000000" />
+            </requestFiltering>
+        </security>
     </system.webServer>
 </configuration>

--
Gitblit v1.9.1