我有Ubuntu为基础的VPS,其中有灯安装。它有Apache,MySQL,PHPMyAdmin,PHP等,所有的东西都在我的网站上使用。我安装了iRedmail,现在我的网站不能再被访问了,只需重定向到mydomain.com/mail,而我的Webmin也被关闭了。
我试图删除它,所以我在这里跟随文章:http://www.iredmail.org/forum/topic333-iredmail-support-faq-how-to-uninstall-iredmail.html似乎被删除了,我也手动卸载了后缀。从/var/apache2/sites-enabled中删除所有非默认的内容,但仍然不能像以前那样工作!它仍然重定向到/mail目录,Webmin被关闭.
。
我还查看了我的网站/var/www/ index.php文件和.htaccess文件。没有重定向命令。
我不想重新安装所有的东西,所以我需要做什么?我很生气,为什么要碰我的Apache和Webmin安装?iRedmail是垃圾。
发布于 2013-11-07 18:09:29
解决了这两个问题。
通过删除index.html或删除其中的元刷新标记来解决重定向问题。
<meta http-equiv="refresh" content="0;url=mail/">通过在终端中输入几个命令
# rm /etc/apache2/conf.d/roundcubemail.conf
# rm /etc/apache2/conf.d/cluebringer.conf# sudo service apache2 restart命令来源:https://www.digitalocean.com/community/questions/how-to-remove-iredmail
对于Webmin和其他几个网络应用程序来说,这都是IP表的问题。iRedmail在那里搞砸了一些东西,所以我跟着这篇文章,一切都恢复正常了:
# sudo iptables -P INPUT ACCEPT
# sudo iptables -P FORWARD ACCEPT
# sudo iptables -P OUTPUT ACCEPT
# sudo iptables -F
# sudo iptables -X来源:http://www.prash-babu.com/2008/10/how-to-flush-or-remove-all-iptables.html
https://serverfault.com/questions/551353
复制相似问题