七、配置apache--EXTMAIL

1、虚拟主机设置

编辑httpd.conf文件:

 

shell

# vi /etc/httpd/conf/httpd.conf

在最后一行加上:

NameVirtualHost *:80Include conf/vhost_*.conf

编辑 vhost_extmail.conf

 

shell

# vi /etc/httpd/conf/vhost_extmail.conf

里面定义虚拟主机的相关内容:

# VirtualHost for ExtMail Solution<VirtualHost *:80>ServerName mail.extmail.orgDocumentRoot /var/www/extsuite/extmail/html/ScriptAlias /extmail/cgi/ /var/www/extsuite/extmail/cgi/Alias /extmail /var/www/extsuite/extmail/html/ScriptAlias /extman/cgi/ /var/www/extsuite/extman/cgi/Alias /extman /var/www/extsuite/extman/html/# Suexec configSuexecUserGroup vuser vgroup</VirtualHost>

设置apache开机启动

 

shell

# chkconfig httpd on




      本文转自glying 51CTO博客,原文链接:http://blog.51cto.com/liying/968568,如需转载请自行联系原作者



上一篇:操作系统更新,微软说我们要更快


下一篇:手把手使用Python教你破解谷歌(Google)人机验证码—上篇