Ubuntu重新安装Apache

Apache已经被破坏,现在它只是在去任何页面时显示以下错误。

Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace. 

这与.htaccess无关,在我的虚拟机搞砸了一些文件之前,在多个虚拟主机上一切正常。

我认为最好的想法是重新安装apache2软件包。

我已经尝试apt-get --purge remove apache2apt-get --reinstall install apache2 。 没有什么似乎工作,它只是标记为已删除,但实际上并没有删除文件。

apt-get remove apache2

mv /etc/apache /etc/apache.old

apt-get install apache2