标题: 原创:配置WorldClient运行在Apache下 [打印本页] 作者: 冷月 时间: 2004-10-15 22:52 标题: 原创:配置WorldClient运行在Apache下 配置WorldClient运行在Apache下<br>
青岛 丁月光 转载请注明作者信息<br>
<br>
Mdaemon作为一款win平台下强大的电子邮件服务器软件,以及它集成的一款比较完美的多语言Webmail服务产品——WorldClient,深受众多的网管员所喜爱,在全球拥有众多的装机量。但是WorldClient服务默认运行在3000端口,给客户的使用带来了很大的不便,当然它也可以作为Web服务的一个组件运行,遗憾的是,WorlClient只提供了运行于IIS的选项,没有提供于Apache下运行的选项。更遗憾的是,查遍网上资料,也没有关于此问题的使用说明。只好自己摸索了。<br>
下面,我们就一步一步地配置Apache的httpd.conf,让WorldClient运行于Apache之下。<br>
1、从C:\Mdaemon\WorldClient目录下拷贝worldclient.dll到C:\Mdaemon\WorldClient、Html目录下。<br>
2、我们要把.dll文件声明成isapi对象,找到“AddHandler type-map var”这一行,在它后面插入一个新行:“AddHandler isapi-isa .dll”。记住,在后面,如果在前面的话,就不会成功。<br>
3、为webmail添加一个虚拟目录 “Alias /mail "c:/Mdaemon/WorldClient/HTML"”<br>
4、为该目录添加访问许可,授予其ExecCGI权限和默认起始页:<br>
<Directory "c:/Mdaemon/WorldClient/HTML"><br>DirectoryIndex worldclient.dll?view=main<br>Options ExecCGI<br>AllowOverride None<br>Order allow,deny<br>Allow from all<br>
</Directory><br>
5、设置Mdaemon的设置(setup)->worldclient菜单,选中“运行于IIS下”(WorldClient is running under IIS)。<br>
重起Apache、Mdaemon服务,用<a target=_blank href=http://xx.xx.xx.xx/mail>http://xx.xx.xx.xx/mail</a>就可以访问我们的webmail页面了。你也可以用自己更漂亮的模板代替默认的起始页面。<br>
<br> 作者: 风雨 时间: 2004-10-16 17:38 标题: re:ok谢谢,测试配置成功Apa... ok<br>
谢谢,测试配置成功<br>
<br>
Apache2+MD7作者: 钉子 时间: 2004-10-16 23:49 标题: re:谢谢,支持原创,加精华,奖励3分. 谢谢,支持原创,加精华,奖励3分.作者: 没有故事的人 时间: 2004-10-18 17:07 标题: re:顶下先 顶下先作者: logintu 时间: 2005-4-11 09:25 标题: re:very good very good作者: logintu 时间: 2005-4-11 20:07 标题: re:建议置顶 建议置顶作者: maomaohuang 时间: 2005-4-12 02:09 标题: re:多谢多谢 多谢多谢作者: U-Mail 时间: 2005-4-12 18:56 标题: re:这个恐怕不大稳定的说 这个恐怕不大稳定的说作者: p001 时间: 2005-7-7 23:59 标题: re:Apache 1.3.31+Mdaemo... Apache 1.3.31+Mdaemon V7.2.3(D:\Mdaemon)失败! 原因?<br>
<br>
Internal Server Error<br>
The server encountered an internal error or misconfiguration and was unable to complete your request.<br>
Please contact the server administrator, webmaster@xxxx.com.cn and inform them of the time the error occurred, and anything you might have done that may have caused the error.<br>
<br>
More information about this error may be available in the server error log.<br>
<br> 作者: lejiajie 时间: 2005-8-31 16:49 标题: re:mm168 怎么进 mm168 怎么进作者: xisxy 时间: 2005-10-26 11:50 标题: re:谢谢楼主,正在找这方面的材料,你辛苦了,... 谢谢楼主,正在找这方面的材料,你辛苦了,呵呵……<br>
这就回去试试作者: kingcase 时间: 2006-5-10 11:30 标题: re:谢谢! 谢谢!作者: takuser 时间: 2007-12-11 09:35 标题: 配置WorldClient运行在Apache下 If you only run one web server just use worldclient and change the port to 80, why use apache, but if you running few web site on mdaemon server iis is the easy way to setup.作者: wxhsh 时间: 2007-12-11 09:42 标题: 回复 13楼 的帖子 因为只改端口WC还是运行在系统服务模式,并非DLL,当一个崩溃发生时,只能通过重启解决,而运行在IIS下只需重启IIS重载DLL就行了。作者: Kyan 时间: 2007-12-13 11:27