Mindtouch打破了我的Apache2虚拟主机configuration

我使用这里的说明安装了mindtouch,它似乎打破了我的虚拟主机configuration。 我有几个域运行相同的Apache实例,这是工作正常,但现在我所有的域名parsing到虚拟主机安装MindTouch。 所以mindtouch使我所有的域名指向新的mindtouch实例。 哎呀!

我使用debians默认的虚拟主机机制(网站启用等)。 有谁知道什么apache指令mindtouch是用来破坏我的vh设置? 我搜遍了所有的conf文件,在apache2.conf或httpd.conf中没有任何明显的会导致这种行为。 它是否创build了一个我应该销毁的sym-link?

我应该补充说我已经卸载了mindtouch软件包,但是apache仍然坚持把所有的域redirect到启用站点的文件夹中提到的第一个域。

thini:~# apache2ctl -S [Wed Jan 05 13:39:11 2011] [warn] NameVirtualHost *:80 has no VirtualHosts VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: *:* www.openancestry.org (/etc/apache2/sites-enabled/openancestry.org:1) *:* www.pragmantra.com (/etc/apache2/sites-enabled/pragmantra.com:1) *:* services.pragmantra.com (/etc/apache2/sites-enabled/services.pragmantra.com:1) *:* www.subversionreports.com (/etc/apache2/sites-enabled/subversionreports.com:1) *:* www.thijssen.ch (/etc/apache2/sites-enabled/thijssen.ch:1) Syntax OK 

编辑:Niall&DerfKbuild议更正后,我现在得到这个:

 thini:/etc/apache2/sites-enabled# apache2ctl -S VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: *:80 is a NameVirtualHost default server www.openancestry.org (/etc/apache2/sites-enabled/openancestry.org:1) port 80 namevhost www.openancestry.org (/etc/apache2/sites-enabled/openancestry.org:1) port 80 namevhost www.pragmantra.com (/etc/apache2/sites-enabled/pragmantra.com:1) port 80 namevhost services.pragmantra.com (/etc/apache2/sites-enabled/services.pragmantra.com:1) port 80 namevhost www.subversionreports.com (/etc/apache2/sites-enabled/subversionreports.com:1) port 80 namevhost www.thijssen.ch (/etc/apache2/sites-enabled/thijssen.ch:1) Syntax OK 

无论站点启用的文件夹中的第一个文件最终被视为“默认服务器”。 就好像名为虚拟主机被禁用一样。

解决这个问题:

 <VirtualHost _default_:80>DocumentRoot /var/www</VirtualHost> 

第一个警告可能是答案。 NameVirtualHost被定义为*:80,但是在定义每个虚拟主机的configuration位上,通过<VirtualHost *:*>或类似的而不是<VirtualHost *:80>的外观。

@Grenade抱歉听到你有MindTouch的问题。 如果你按照维基页面上的说明,那么你总是可以尝试“a2dissite dekiwiki”和“a2ensite default”来查看是否修复它。 MindTouch确实使用启用站点的符号链接来pipe理主机,但可能只是在第一个Apache虚拟主机上有一个通配符。 让我知道如果上述帮助。