在Django上有两个网站。他们的配置文件是相同的(重命名名称,项目路径)。但首先是工作,第二不工作。Django.Wsgi.Apache。 Apache2中的错误403
在Django上有两个网站。他们的配置文件是相同的(重命名名称,项目路径)。但首先是工作,第二不工作。
firstweb.conf.
<VirtualHost *:80>
WSGIScriptAlias//var/www/firstweb/firstweb/wsgi.py
ServerName firstweb.com
Alias /static /var/www/firstweb/static
<Directory /var/www/firstweb>
Order deny,allow
Deny from all
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
现在从第二个网站(twoweb)我得到了错误403(禁止)。
访问项目:
drwxrwxrwx 3 andrey andrey 4096 июл 14 14:19 firstweb
drwxrwxrwx 3 andrey andrey 4096 июл 14 14:28 twoweb
我在做什么错?
感谢和抱歉我的英语。
对不起,不能帮你解决问题,但也有一个https://ru.stackoverflow.com。如果你有问题解释自己,也许他们可以帮助你;) – hansTheFranz