我想按照本教程https://www.youtube.com/watch?v=CpFU16KrJcQ&t=191s在 Windows Server 2008 中部署我的 django 网站
在步骤 wfastcgi-enable 中,它会显示这样的消息。
命令提示符
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>wfastcgi-enable
ERROR ( message:Unknown attribute "signalBeforeTerminateSeconds". )
An error occurred running the command:
['C:\\Windows\\system32\\inetsrv\\appcmd.exe', 'set', 'config', '/section:system
.webServer/fastCGI', "/+[fullPath='c:\\users\\administrator\\appdata\\local\\pro
grams\\python\\python37\\python.exe', arguments='c:\\users\\administrator\\appda
ta\\local\\programs\\python\\python37\\lib\\site-packages\\wfastcgi.py', signalB
eforeTerminateSeconds='30']"]
Ensure your user has sufficient privileges and try again.
C:\Users\Administrator>