在Apache的配置错误 [英] Configuration error in Apache

查看:296
本文介绍了在Apache的配置错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Windows Server 2008上创建的服务器在Apache 2.2的,3.3的Python的Django和1.5。它给我这个错误是为什么?
这是我的conf:

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>

【暴击】【客户端127.0.0.1]配置错误:无法进行认证。 AUTHTYPE没有设置!: / hlavni_stranka /

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

推荐答案

好吧,我知道在那里有问题,这是在配置:

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

为什么?

这篇关于在Apache的配置错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆