From 82954f31a43d8f6c2c76b24bf09fd45502c24638 Mon Sep 17 00:00:00 2001
From: hzj <1831054011@qq.com>
Date: 星期一, 13 十月 2025 15:34:18 +0800
Subject: [PATCH] 解决合并冲突

---
 web.config |   24 ++++++++++++++++++++----
 1 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/web.config b/web.config
index 2ee158a..c2144f7 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="C:\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="C:\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="C:\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