冷月 发表于 2004-10-15 22:52:20

原创:配置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:24

re:ok谢谢,测试配置成功Apa...

ok<br>
谢谢,测试配置成功<br>
<br>
Apache2+MD7

钉子 发表于 2004-10-16 23:49:12

re:谢谢,支持原创,加精华,奖励3分.

谢谢,支持原创,加精华,奖励3分.

没有故事的人 发表于 2004-10-18 17:07:51

re:顶下先

顶下先

logintu 发表于 2005-4-11 09:25:51

re:very good

very good

logintu 发表于 2005-4-11 20:07:14

re:建议置顶

建议置顶

maomaohuang 发表于 2005-4-12 02:09:37

re:多谢多谢

多谢多谢

U-Mail 发表于 2005-4-12 18:56:42

re:这个恐怕不大稳定的说

这个恐怕不大稳定的说

p001 发表于 2005-7-7 23:59:02

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:42

re:mm168 怎么进

mm168 怎么进
页: [1] 2
查看完整版本: 原创:配置WorldClient运行在Apache下