遵循这里的安装说明,我完成了AWS实例上的整个过程。 一切似乎都设置正确,我甚至可以使用下面的开发服务器运行BH:
tracd ./bloodhound/environments/main --port=8000
一旦我尝试切换到使用Apache和mod_wsgi虽然,假定的url是没有为我提供任何东西。 此外,我在access.log或error.log中都没有收到任何错误 – 这使得这非常困难。
我跟着他们的方向到T,我用于WSGIDaemonProcess的用户只是标准的AWS用户,Ubuntu
不知道我错了哪里,我所知道的是我可以使用tracd工作。
这是我的/sites-available/bloodhound文件:
<VirtualHost *:8080> WSGIDaemonProcess bh_tracker user=ubuntu python-path=/home/bloodhound/lib/python2.7/site-packages WSGIScriptAlias /bloodhound /home/apache-bloodhound-0.7/installer/bloodhound/site/cgi-bin/trac.wsgi <Directory /home/apache-bloodhound-0.7/installer/bloodhound/site/cgi-bin> WSGIProcessGroup bh_tracker WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all </Directory> <LocationMatch "/bloodhound/[^/]+/login"> AuthType Digest AuthName "Bloodhound" AuthDigestDomain /bloodhound AuthUserFile /home/apache-bloodhound-0.7/installer/bloodhound/environments/main/bloodhound.htdigest Require valid-user </LocationMatch> </VirtualHost>
除了PostgreSQL以外,其他任何东西都不需要configuration,这很简单,而且我知道正在工作,因为如果没有它,开发服务器将无法工作。
我还设置了AWS安全组,以允许这些端口上的stream量。
很高兴给更多的信息