Configuration error in Apache

做~自己de王妃 提交于 2019-12-11 06:26:10

问题


When i created server In Apache 2.2 on Windows Server 2008, Python 3.3 and Django 1.5. It give me this error why? This is in my conf:

WSGIScriptAlias / D:/Rocnikova_prace/mysite/mysite/wsgi.py
WSGIPythonPath D:/Rocnikova_prace/mysite

<Directory D:/Rocnikova_prace/mysite/mysite>
<Files wsgi.py>
Order deny,allow
Require all granted
</Files>
</Directory>

[crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /hlavni_stranka/


回答1:


Ok i Know where was the problem, It was in configuration:

<Directory D:/Rocnikova_prace/mysite/mysite>
<Files wsgi.py>
Options FollowSymLinks
AuthType None
AllowOverride None
Order deny,allow
Deny from all
</Files>
</Directory>

But it give me new error:

 [Sun Nov 10 13:07:13 2013] [error] [client 127.0.0.1] client denied by server configuration: D:/Rocnikova_prace/mysite/mysite/wsgi.py

Why?



来源:https://stackoverflow.com/questions/19889464/configuration-error-in-apache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!