【发布时间】:2016-10-17 16:27:41
【问题描述】:
我和我的一个朋友在让 PI Joule's @channel (Link to "Production" Readme) 的原始实体工作时遇到问题,根据个人的设置指南,目前应该在域 atchannel.cf 上运行,以及按照主 README 文件中所说的去做here
<VirtualHost *:80>
ServerName atchannel.cf
WSGIScriptAlias / /var/www-atchannel/atchannel.wsgi
<Directory /var/www-atchannel>
Require all granted
</Directory>
Alias /static /var/www-atchannel/atchannel/static
<Directory /var/www-atchannel/atchannel/static/>
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/errorAtChannel.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/accessAtChannel.log combined
</VirtualHost>
这是文件的 Apache 虚拟主机,与站点的路径匹配,但仍返回 403 禁止错误。谁能告诉我们我们做错了什么?
【问题讨论】:
标签: python mongodb apache virtualhost wsgi