我安装了Indico http://indico-software.org/这是一个开源工具,用于Ubuntu上的事件组织,存档和协作,使用此说明https://indico.syntek.org/category/1/material/0/0.pdf,安装看起来不错,但是当我尝试打开localhost/indico时,禁止403错误。Forbidden 403在Indico安装上出现Apache错误
我加入这行到/etc/apache2/apach2.conf
WSGIScriptAlias//opt/indico/htdocs/
WSGIPythonHome /usr/local/pythonenv/BASELINE
WSGIPythonPath
/usr/local/pythonenv/indico12/lib/python2.7/sitepackages
WSGIPythonEggs /opt/indico/tmp/egg-cache
<Directory /opt/indico/htdocs>
Options Indexes FollowSymLinks
AllowOverride None
<Files indico.wsgi>
Require all granted
</Files>
</Directory>
这是/etc/apache2/sites-available/a2indico.conf
<VirtualHost *:80>
ErrorLog /var/log/apache2/error.log
LogLevel warn
Alias /indico/images "/opt/indico/htdocs/images"
Alias /indico/css "/opt/indico/htdocs/css"
Alias /indico/js "/opt/indico/htdocs/js"
Alias /indico/ihelp "/opt/indico/htdocs/ihelp"
WSGIDaemonProcess WSGIDAEMON processes=32 threads=1 inactivity-
timeout=3600 maximumrequests=10000 python-
path=/usr/local/pythonenv/indico12/lib/python2.7/site-packages python-
eggs=/opt/indico/tmp/egg-cache
WSGIScriptAlias /indico "/opt/indico/htdocs/indico.wsgi"
<Directory "/opt/indico">
WSGIProcessGroup WSGIDAEMON
WSGIApplicationGroup %{GLOBAL}
AllowOverride None
Options FollowSymLinks
Require all granted
</Directory>
</VirtualHost>
我virtulhost文件/ etc/apach2和/ opt/indico directorys的chown用于www数据用户。
非常感谢您的帮助。
Plz给我一些建议。 =)
坦克为你的答案是不是,但谢谢你的帮助和时间。 – JPower