數碼中文坊

 取回密碼
 我要註冊
檢視: 16007|回覆: 23

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

[複製連結]
發表於 2006-11-6 13:21:35 | 顯示全部樓層 |閱讀模式

馬上註冊,結交更多好友,享用更多功能,讓你輕鬆瀏覽論壇。

你需要 登入 才可以下載或檢視,沒有帳號?我要註冊

x
依照 MDaemon 網站上的說明嘗試將 WorldClient 架設在 Apache 底下,使用的是虛擬主機方式,試了多次無法成功。

有人成功過嗎?請分享一下,謝謝!
 樓主| 發表於 2006-11-7 12:01:26 | 顯示全部樓層
嘗試透過 Apache 的 Proxy 功能來達成,也不行...都是修改 Apache 的 conf 後啟動不來。
發表於 2006-11-10 14:11:01 | 顯示全部樓層
我是用 Apache 使用 worldclient 很正常沒有特別設定就ok (都是用內定)!

在Mdaemon setup worldclient  port 內定是3000
         看一下還有那些有改過 ???

在IE要用  http://mail.xxx.xxx.tw:3000/
 樓主| 發表於 2006-11-11 21:56:03 | 顯示全部樓層
你弄錯了,你的方式是使用內建的,不是透過 Apache。架在Apache 下就不需要再加 :3000 的埠號。
肖像被遮蔽
發表於 2006-11-14 22:01:12 | 顯示全部樓層
提示: 作者被封鎖或刪除 內容自動遮蔽
肖像被遮蔽
發表於 2006-11-15 13:33:47 | 顯示全部樓層
提示: 作者被封鎖或刪除 內容自動遮蔽
發表於 2006-11-15 14:51:09 | 顯示全部樓層
真的很抱歉關於 port:3000 

我裝 Apache 是因為要架網站,並不是因為 worldclient .....
(並沒有特別注意, 都是用outlook 來收信)

至於頁面應在
c:/Mdaemon/WorldClient/HTML
mail 是放在
c:\MDaemon\USERS\xxxx.com.tw\username

找了一個網頁..希望有幫助 !!!
http://www.5dmail.net/bbs/thread-50043-1-1.html

==============
另在 alt-N 找的 FAQ

Run WorldClient under Apache web server
KBA-01525

Purpose & Scope
--------------------------------------------------------------------------------

The below instructions will allow you to run WorldClient on Apache.


Procedure
--------------------------------------------------------------------------------


Download and install Apache 2.0.46 (We used the default installation so everything ends up in C:\Program Files\apache group\apache2\)

Try to start Apache from the command line and check if it is working (http://127.0.0.1)

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

First, we have to assign .dll to an isapi. Locate a line called 'AddHandler type-map var'. After this line insert: 'AddHandler isapi-isa .dll'.

Now, we have to allow access to the MDaemon directory, with ExecCGI Privileg. Don't use backslashes, use slashes for paths! Insert anywhere:
     Options ExecCGI
     AllowOverride None
     Order allow,deny
     Allow from all

If your only purpose is serving WorldClient then we simply could change the DocumentRoot from 'C:/Program Files/Apache Group/Apache2/htdocs' to 'c:/MDaemon/WorldClient/HTML'. Now if someone goes to http://127.0.0.1 we will see an 'Access Denied' error. That'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:

     RedirectMatch^/$ http://127.0.0.1/WorldClient.dll?View=Main

(note: If you want to browse your MDaemon directory you have to write 'Options ExecCGI Indexes'. Don't click on worldclient.dll, it will crash the apache-thread handling worldclient.dll. You should remove Indexes on real servers)

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.

If you are using Virtual Hosts it is nearly the same. Somewhere you should have (with different IP of course):

NameVirtualHost 212.180.180.180

After this statement you'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):

ServerAdmin [email protected]
DocumentRoot c:/MDaemon/WorldClient/HTML
RedirectMatch ^/$http://www.my-personal-mdaemon-webserver.com/WorldClient.dll?View=Main
ServerName www.my-personal-mdaemon-webserver.com
ErrorLog c:/logs/www.my-personal-mdaemon-webserver.com-error.log
CustomLog c:/logs/www.my-personal-mdaemon-webserver.com-access.log combined



 樓主| 發表於 2006-11-15 15:56:24 | 顯示全部樓層
我就是照 AIL-N 的說明架的,但他是教如何在「預設」的網站下,和大陸那篇的一樣,而我希望的是架在「虛擬」(NameBase VirtualHost)伺服器下。

剛才依照大陸那篇稍加變化,有成功,但會造成 WorldClient 速度變得相當慢...等於還是不成功。

補充說明:不想使用 MDaemon 內建的方式是因為...這樣等於在 Apache 之外又多執行了一個執行網頁伺服器程式。架在 Apache 下可以讓 MDaemon 不必再啟動它的內建網頁伺服器。(以上是我的推測)
肖像被遮蔽
發表於 2006-11-15 18:26:00 | 顯示全部樓層
提示: 作者被封鎖或刪除 內容自動遮蔽
 樓主| 發表於 2006-11-15 20:39:29 | 顯示全部樓層
綜合了 Alt-n 及大陸 5dmail 的方法再加以修改後,有成功。但還是一樣會顯示得非常慢。看來還是乖乖使用內建的就好。
肖像被遮蔽
發表於 2006-11-16 02:21:13 | 顯示全部樓層
提示: 作者被封鎖或刪除 內容自動遮蔽
肖像被遮蔽
發表於 2006-11-16 03:10:19 | 顯示全部樓層
提示: 作者被封鎖或刪除 內容自動遮蔽
肖像被遮蔽
發表於 2006-11-16 12:22:15 | 顯示全部樓層
提示: 作者被封鎖或刪除 內容自動遮蔽
發表於 2006-11-16 16:25:50 | 顯示全部樓層
我也成功了 .......

可以試一下 :
http://www.xxxxxx.com.tw/mail

速度我覺得還不錯...

========= 不好意思..因是公司的網站,還是決定去掉真正的地址======
 樓主| 發表於 2006-11-16 17:05:21 | 顯示全部樓層
我們要的作法是虛擬主機(NameBase VirtualHost),你們的方式都不是使用虛擬主機的啦~~~
發表於 2006-11-16 17:25:31 | 顯示全部樓層
....我對網站和 Server的東西不熟....

不過照著修改 httpd.conf ...

有勳作覺得還是很有成就感 (ps: 去掉:3000)

改天再試一下 加 SSL ....https://xxx.xxx.xxxx/



虛擬主機....對我太難了... >< 

肖像被遮蔽
發表於 2006-11-17 04:30:42 | 顯示全部樓層
提示: 作者被封鎖或刪除 內容自動遮蔽
肖像被遮蔽
發表於 2006-11-17 05:01:37 | 顯示全部樓層
提示: 作者被封鎖或刪除 內容自動遮蔽
 樓主| 發表於 2006-11-17 11:35:01 | 顯示全部樓層
Apache 的虛擬主機對我們當然沒有問題。

我說的是「如何在 Apache 的虛擬主機架構下建置 WorldClient 而且不會造成反應遲頓及顯示上的錯誤」。

架得出來是一回事,是不是正常運作而且不輸 MDaemon 內建的,這才是我要討論的重點啦!
肖像被遮蔽
發表於 2006-11-18 22:13:50 | 顯示全部樓層
提示: 作者被封鎖或刪除 內容自動遮蔽
你需要登入後才可以回覆 登入 | 我要註冊

本版積分規則

Archiver|禁閉室|手機版|數碼中文坊

GMT+8, 2024-4-28 10:34 PM

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回覆 返回頂端 返回清單