[英]Error 500 deployement Django on IIS Server
I try to deploy a django app to a IIS Server. 我尝试将django应用程序部署到IIS服务器。 During this step, I find this error:
在此步骤中,我发现此错误:
HTTP Error 500.0 - Internal Server Error
HTTP错误500.0-内部服务器错误
scriptProcessor could not be found in application configuration
在应用程序配置中找不到scriptProcessor
My directory folder are: C:\\inetpub\\wwwroot\\MyApp (where i Found manage.py) 我的目录文件夹是:C:\\ inetpub \\ wwwroot \\ MyApp(我在其中找到manage.py)
in wwwroot\\MyApp\\web.config I have: 在wwwroot \\ MyApp \\ web.config中,我有:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="true" />
</system.webServer>
</configuration>
I have into my IIS Manager, into my handlermapping of my Sites\\MyApp this datas: Request path: * 我已经进入IIS管理器,进入了我的Sites \\ MyApp的处理程序映射中,这些数据是:请求路径:*
Module: FastCgiModule Executable (optional): C:\\Program Files\\Python37\\python.exe|C:\\Users\\ybe\\Envs\\IntranetBenu\\Lib\\site-packages\\wfastcgi.py
模块:FastCgiModule可执行文件(可选):C:\\ Program Files \\ Python37 \\ python.exe | C:\\ Users \\ ybe \\ Envs \\ IntranetBenu \\ Lib \\ site-packages \\ wfastcgi.py
If I try to go to C:\\Users\\ybe\\Envs\\MyApp\\Scripts|Lib I find the files need. 如果我尝试转到C:\\ Users \\ ybe \\ Envs \\ MyApp \\ Scripts | Lib,则会找到所需的文件。
Directory browsing are checked for Time, Size Extension and Date (but not long date) 检查目录浏览的时间,扩展名和日期(但不包括长日期)
The MyApp ApplicationPool are Started. MyApp ApplicationPool已启动。
Have you any idea of this error ? 您知道这个错误吗?
Thanks per advance, 谢谢你提前
The problem persist. 问题仍然存在。 I changed the installation Python to c:\\Python37 and moved the Env to C:\\Envs
我将安装Python更改为c:\\ Python37并将Env移至C:\\ Envs
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.