最近在配置openwebmail,更改默认主页的时候总是会遇到这样的问题:
apache 403错误 You don't have permission to access on this server.
而且总是找不到apache的默认index到底在什么地方,于是在/var/www/html下新建了一个index.html的网页,加入了如下网页代码,将默认主页定位到openwebmail的页面:
<html>
<head>
<meta http-equiv=refresh content="0; url=http://luzg.ihep.ac.cn/cgi-bin/openwebm
ail/openwebmail.pl">
</head>
</html>
用来直接做默认主页还是很有用的。