主题: 添加虚拟主机后的问题(重新排版)
由于需求的原因改动了下配置
在apache的httpd.conf里修改了虚拟主机,修改后访问mail 的web主页速度很慢
修改后报了一些错误,我把roundcubemail.conf 改了个名字(roundcubemail.conf.bak) 测试时不再报错
修改的地方(敏感的地方进行了一些处理):
#spring add
NameVirtualHost IP
<VirtualHost IP>
ServerName IP
DocumentRoot /opt/
<Location />
Order Allow,Deny
Deny from all
</Location>
</VirtualHost>
<VirtualHost IP >
ServerName 访问域名
ServerAdmin 邮件管理员邮箱
DocumentRoot /var/www/roundcubemail/
ErrorDocument 404 /opt/error/404.html
</VirtualHost>
<VirtualHost IP >
ServerName 访问域名
ServerAdmin 邮件管理员邮箱
DocumentRoot /var/www/postfixadmin-2.2.1.1/
ErrorDocument 404 /opt/error/404.html
</VirtualHost>
[root@mail ~]# apachectl -t
Syntax OK
tailf /etc/httpd/logs/error_log
[Mon Feb 01 11:59:00 2010] [error] [client IP] File does not exist: /var/www/roundcubemail/mail
[Mon Feb 01 11:59:00 2010] [error] [client IP] File does not exist: /var/www/roundcubemail/opt
[Mon Feb 01 11:59:00 2010] [error] [client IP] File does not exist: /var/www/roundcubemail/favicon.ico
[Mon Feb 01 11:59:00 2010] [error] [client IP ] File does not exist: /var/www/roundcubemail/opt
[Mon Feb 01 12:05:21 2010] [error] [client IP] File does not exist: /var/www/roundcubemail/favicon.ico
[Mon Feb 01 12:05:21 2010] [error] [client IP] File does not exist: /var/www/roundcubemail/opt
想问下这个需要修改不?
/etc/httpd/conf.d/ssl.conf