輸入IP自動轉到webmail
發表於 : 2005-06-03 12:19:09
修改 /etc/httpd/conf/vhosts/Vhosts.conf
<VirtualHost 192.168.1.77>
ServerName 192.168.1.77
DocumentRoot /var/www/html/webmail
</VirtualHost>
<VirtualHost tyan>
ServerName tyan
DocumentRoot /var/www/html/webmail
</VirtualHost>
<VirtualHost 192.168.1.77>
ServerName 192.168.1.77
DocumentRoot /var/www/html/webmail
</VirtualHost>
<VirtualHost tyan>
ServerName tyan
DocumentRoot /var/www/html/webmail
</VirtualHost>