Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 阿帕奇,德扬戈。禁止你';我没有访问/访问此服务器的权限_Python_Django_Apache - Fatal编程技术网

Python 阿帕奇,德扬戈。禁止你';我没有访问/访问此服务器的权限

Python 阿帕奇,德扬戈。禁止你';我没有访问/访问此服务器的权限,python,django,apache,Python,Django,Apache,我正在使用Ubuntu12.04LTS 我在/home/server下创建了一个django项目/ 下面是我添加到httpd.conf中的内容: WSGIScriptAlias / /home/server/my_server/wsgi.py WSGIPythonPath /home/server/ <Directory /home/server/> <Files wsgi.py> Order deny,allow Allow from

我正在使用Ubuntu12.04LTS

我在/home/server下创建了一个django项目/

下面是我添加到httpd.conf中的内容:

WSGIScriptAlias / /home/server/my_server/wsgi.py
WSGIPythonPath /home/server/
<Directory /home/server/>
   <Files wsgi.py>
       Order deny,allow
       Allow from all
   </Files>
</Directory>

非常感谢。

是否应该用它代替?Ty aurel.g,但它不起作用可能重复:
Forbidden
You don't have permission to access / on this server.