From d700774f27731e52a24df7eaa5d02ee152202308 Mon Sep 17 00:00:00 2001
From: hzj <1831054011@qq.com>
Date: 星期二, 21 十月 2025 09:23:11 +0800
Subject: [PATCH] fix:修复跟单人记录被删除问题
---
web.config | 26 +++++++++++++++++++++-----
1 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/web.config b/web.config
index 2930d14..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