465
社区成员
发帖
与我相关
我的任务
分享
配置了IIS_IUSRS文件夹权限
应用池设置 集成托管、
LocalSystem标识,
启用 32 位应用程序:True
通过服务器本地测试、本地runserver后通过外网访问都可以上传成功,但通过IIS部署后,每次重启IIS可以正常上传,但过一天就上传失败,重启IIS又重复。
media文件夹web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<!-- this configuration overrides the FastCGI handler to let IIS serve the static files -->
<handlers>
<clear/>
<add name="MediaFile" path="*" verb="*" modules="StaticFileModule" resourceType="File" requireAccess="Read" />
</handlers>
</system.webServer>
</configuration>
寻求帮助?