Django Apache2.4,mod_wsgi:403禁止,don';我没有权限访问此服务器上的/calbase

Django Apache2.4,mod_wsgi:403禁止,don';我没有权限访问此服务器上的/calbase,django,apache,mod-wsgi,Django,Apache,Mod Wsgi,因此,我尝试在windows服务器上部署我的django项目,使用Apache2.4、mod_wsgi和Pythong3.4。在配置httpd.conf并尝试在安装mod wsgi的情况下启动apache之前,它可以工作,并显示“它可以工作”页面。然后,我在httpd.conf中进行了以下配置: # Change Python path used by the server. WSGIPythonPath “/EquipmentCalibration” # Make calls to http

因此,我尝试在windows服务器上部署我的django项目,使用Apache2.4、mod_wsgi和Pythong3.4。在配置httpd.conf并尝试在安装mod wsgi的情况下启动apache之前,它可以工作,并显示“它可以工作”页面。然后,我在httpd.conf中进行了以下配置:

# Change Python path used by the server.
WSGIPythonPath “/EquipmentCalibration”

# Make calls to http://localhost/ refer to the Python/WSGI-script located at the specified location.
WSGIScriptAlias / /EquipmentCalibration/equipcal/wsgi.py

# Make calls to http://localhost/static refer to the specified folder.
Alias /static/ /EquipmentCalibration/static

Alias /media/ /EquipmentCalibration/media

<Directory /EquipmentCalibration/static>
Require all granted
</Directory>

<Directory /EquipmentCalibration/media>
Require all granted
</Directory>

<Directory /EquipmentCalibration/equipcale>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
有人能帮忙吗?TIA.

本节:

<Directory /EquipmentCalibration/equipcale>
<Files wsgi.py>
Require all granted
</Files>
</Directory>

要求所有授权

具有与
WSGIScriptAlias
指令中使用的目录名不匹配的目录名。一个使用
equicale
,另一个使用
equicale
。他们需要在片段名称上匹配。

哦,我的天哪,真不敢相信这是一个打字错误。。。。。非常感谢!现在它有一些我可以处理的内部服务器错误。再次感谢
<Directory /EquipmentCalibration/equipcale>
<Files wsgi.py>
Require all granted
</Files>
</Directory>