azi*_*nia 3 apache django centos
我想在CentOS 6中使用Apache.我设置了Django 1.8.Apache配置如下.
WSGIScriptAlias /io /home/ahmad/io/io/wsgi.py
WSGIPythonPath /home/ahmad/io/:/home/ahmad/io/io/:/home/ahmad/myprojectenv/lib/python3.4/site-packages
Alias /static/ "/home/ahmad/io/static/"
DocumentRoot /home/ahmad/io/
<Directory /home/ahmad/io/io/>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
Run Code Online (Sandbox Code Playgroud)
但运行时的内部服务器错误错误.并写入以下错误日志.
configuration error: couldn't perform authentication. AuthType not set!: /io
Run Code Online (Sandbox Code Playgroud)
请指导我.
归档时间: |
|
查看次数: |
3660 次 |
最近记录: |