我正在尝试通过 SSL 安装 trac 和 mod_wsgi。我尝试手动安装它,但效果不太好,所以我开始遵循以下步骤:ubuntu 上的 trac http://robertbasic.com/blog/trac-on-ubuntu/
我跳过了 svn 部分,因为我想使用 git 代替。第一次编辑 httpd.conf 后:
WSGIScriptAlias /trac /var/trac/apache/trac.wsgi
<Directory /var/trac/apache>
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
我重新启动 apache 才得到这个错误:
* Restarting web server apache2
(98)Address already in use: make_sock: could not bind to address [::]:443
[ OK ]
做这些并没有显示出任何结果。
netstat -anp | grep 443
fuser 443/tcp
除了我运行的 grep 命令之外,这样做没有产生任何结果:
ps -aux | grep httpd
为什么在没有显示任何内容的情况下却说有其他东西正在使用该端口?
EDIT:你们会笑这个。我在 ports.conf 中有一个不应该存在的额外 Listen 443。删除它解决了这个问题。
你们会笑这个。我在 ports.conf 中有一个不应该存在的额外 Listen 443。删除它解决了这个问题。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)