MarchFun 發表於 2006-11-6 13:21:35

有人成功在 Apache 下架設 WorldClient 嗎?

依照 MDaemon 網站上的說明嘗試將 WorldClient 架設在 Apache 底下,使用的是虛擬主機方式,試了多次無法成功。<br><br>有人成功過嗎?請分享一下,謝謝!

MarchFun 發表於 2006-11-7 12:01:26

嘗試透過 Apache 的 Proxy 功能來達成,也不行...都是修改 Apache 的 conf 後啟動不來。

shem888 發表於 2006-11-10 14:11:01

我是用 Apache 使用 worldclient 很正常沒有特別設定就ok (都是用內定)&#33;<br><br>在Mdaemon setup worldclient  port 內定是3000 <br>         看一下還有那些有改過 ???<br><br>在IE要用  <a href='http://mail.xxx.xxx.tw:3000/' target='_blank'>http://mail.xxx.xxx.tw:3000/</a>

MarchFun 發表於 2006-11-11 21:56:03

你弄錯了,你的方式是使用內建的,不是透過 Apache。架在Apache 下就不需要再加 :3000 的埠號。

Rhode 發表於 2006-11-14 22:01:12

Rhode 發表於 2006-11-15 13:33:47

shem888 發表於 2006-11-15 14:51:09

真的很抱歉關於 port:3000 <br><br>我裝 Apache 是因為要架網站,並不是因為 worldclient .....<br>(並沒有特別注意, 都是用outlook 來收信)<br><br>至於頁面應在<br>c:/Mdaemon/WorldClient/HTML <br>mail 是放在<br>c:\MDaemon\USERS\xxxx.com.tw\username<br><br>找了一個網頁..希望有幫助 &#33;&#33;&#33;<br><a href='http://www.5dmail.net/bbs/thread-50043-1-1.html' target='_blank'>http://www.5dmail.net/bbs/thread-50043-1-1.html</a><br><br>==============<br>另在 alt-N 找的 FAQ<br><br>Run WorldClient under Apache web server <br>KBA-01525 <br><br>Purpose & Scope <br>--------------------------------------------------------------------------------<br><br>The below instructions will allow you to run WorldClient on Apache.<br> <br><br>Procedure <br>--------------------------------------------------------------------------------<br><br><br>Download and install Apache 2.0.46 (We used the default installation so everything ends up in C:\Program Files\apache group\apache2\)<br><br>Try to start Apache from the command line and check if it is working (http://127.0.0.1)<br><br>Locate your server configuration file called http.conf (Should be in c:\Program Files\apache group\apache2\conf) and open it in Notepad or another text editor<br><br>First, we have to assign .dll to an isapi. Locate a line called &#39;AddHandler type-map var&#39;. After this line insert: &#39;AddHandler isapi-isa .dll&#39;.<br><br>Now, we have to allow access to the MDaemon directory, with ExecCGI Privileg. Don&#39;t use backslashes, use slashes for paths&#33; Insert anywhere:<br>     Options ExecCGI<br>     AllowOverride None<br>     Order allow,deny<br>     Allow from all<br><br>If your only purpose is serving WorldClient then we simply could change the DocumentRoot from &#39;C:/Program Files/Apache Group/Apache2/htdocs&#39; to &#39;c:/MDaemon/WorldClient/HTML&#39;. Now if someone goes to <a href='http://127.0.0.1' target='_blank'>http://127.0.0.1</a> we will see an &#39;Access Denied&#39; error. That&#39;s ok, because we only allowed ExecCGI in our Options statement. To jump directly to WorldClient (and WorldClient is handled by ExecCGI) we catch every request getting the root directory and redirect them to WorldClient. Add the following line:<br><br>     RedirectMatch^/$ <a href='http://127.0.0.1/WorldClient.dll?View=Main' target='_blank'>http://127.0.0.1/WorldClient.dll?View=Main</a><br><br>(note: If you want to browse your MDaemon directory you have to write &#39;Options ExecCGI Indexes&#39;. Don&#39;t click on worldclient.dll, it will crash the apache-thread handling worldclient.dll. You should remove Indexes on real servers)<br><br>We are done; start Apache from the command line. If anything went wrong, read the error.log file in c:\Program Files\apache group\apache2\logs\ and the application event log carefully. The logs are very detailed.<br><br>If you are using Virtual Hosts it is nearly the same. Somewhere you should have (with different IP of course):<br><br>NameVirtualHost 212.180.180.180<br><br>After this statement you&#39;re able to define your VirtualHosts or VirtualWebservers. Remember, they only work if you call them with a valid domain name, here www.my-personal-mdaemon-webserver.com): <br><br>ServerAdmin [email protected]<br>DocumentRoot c:/MDaemon/WorldClient/HTML<br>RedirectMatch ^/$http://www.my-personal-mdaemon-webserver.com/WorldClient.dll?View=Main<br>ServerName www.my-personal-mdaemon-webserver.com<br>ErrorLog c:/logs/www.my-personal-mdaemon-webserver.com-error.log<br>CustomLog c:/logs/www.my-personal-mdaemon-webserver.com-access.log combined<br><br> <br> <br>

MarchFun 發表於 2006-11-15 15:56:24

我就是照 AIL-N 的說明架的,但他是教如何在「預設」的網站下,和大陸那篇的一樣,而我希望的是架在「虛擬」(NameBase VirtualHost)伺服器下。<br><br>剛才依照大陸那篇稍加變化,有成功,但會造成 WorldClient 速度變得相當慢...等於還是不成功。<br><br>補充說明:不想使用 MDaemon 內建的方式是因為...這樣等於在 Apache 之外又多執行了一個執行網頁伺服器程式。架在 Apache 下可以讓 MDaemon 不必再啟動它的內建網頁伺服器。(以上是我的推測)

Rhode 發表於 2006-11-15 18:26:00

MarchFun 發表於 2006-11-15 20:39:29

綜合了 Alt-n 及大陸 5dmail 的方法再加以修改後,有成功。但還是一樣會顯示得非常慢。看來還是乖乖使用內建的就好。

Rhode 發表於 2006-11-16 02:21:13

Rhode 發表於 2006-11-16 03:10:19

Rhode 發表於 2006-11-16 12:22:15

shem888 發表於 2006-11-16 16:25:50

我也成功了 .......<br><br>可以試一下 :<br><a href='http://www.xxxxxxx.com.tw/mail' target='_blank'>http://www.xxxxxx.com.tw/mail</a><br><br>速度我覺得還不錯...<br><br>========= 不好意思..因是公司的網站,還是決定去掉真正的地址======

MarchFun 發表於 2006-11-16 17:05:21

我們要的作法是虛擬主機(NameBase VirtualHost),你們的方式都不是使用虛擬主機的啦~~~

shem888 發表於 2006-11-16 17:25:31

....我對網站和 Server的東西不熟....<br><br>不過照著修改 httpd.conf ... <br><br>有勳作覺得還是很有成就感 (ps: 去掉:3000)<br><br>改天再試一下 加 SSL ....https://xxx.xxx.xxxx/<br><br><br><br>虛擬主機....對我太難了... &gt;&lt; <br><br>

Rhode 發表於 2006-11-17 04:30:42

Rhode 發表於 2006-11-17 05:01:37

MarchFun 發表於 2006-11-17 11:35:01

Apache 的虛擬主機對我們當然沒有問題。<br><br>我說的是「如何在 Apache 的虛擬主機架構下建置 WorldClient 而且不會造成反應遲頓及顯示上的錯誤」。<br><br>架得出來是一回事,是不是正常運作而且不輸 MDaemon 內建的,這才是我要討論的重點啦!

Rhode 發表於 2006-11-18 22:13:50

頁: [1] 2
檢視完整版本: 有人成功在 Apache 下架設 WorldClient 嗎?