第 1 頁 (共 1 頁)
[問題] 如何改port
發表於 : 2005-10-26 09:12
由 marcoasura
我裝的版本是appsrv 2.5.4a請問如何在安裝後改http的port呢?
發表於 : 2005-10-26 13:08
由 小竹子
您可以參考教學文件區唷^^
發表於 : 2005-10-26 13:42
由 marcoasura
發表於 : 2005-10-26 13:59
由 咖啡不加糖
問題狂 寫:把Apache內的設定檔http.conf中的"Port"改成8080就可以了
記得在網址後面架上:8080的字樣
你試著搜尋,若只是搜尋Port要比較多次才會看到..
代碼: 選擇全部
# To help diagnose problems use the Windows NT command NETSTAT -a
下兩行就有了

發表於 : 2005-10-26 14:37
由 marcoasura
抱歉,真的沒有也.....
我用的版本是2.5.4a謝謝
發表於 : 2005-10-26 17:00
由 咖啡不加糖
若你是要架 phpBB 的話,請看下面這篇文章:
http://phpbb-tw.net/phpbb/viewtopic.php?t=36635
此外剛才忘了先問您,修改的是哪個檔案?
是否為 C:\AppServ\apache\conf 下的 httpd.conf 檔呢?
發表於 : 2005-10-26 18:24
由 marcoasura
我已經安裝完成,但想要修改進去的port,我的確是在您說的檔案裡找但真的沒有也,是否在下面這段呢?
是不是要加port 8088
變成
ServerName webserver
port 8088
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If this is not set to valid DNS name for your host, server-generated
# redirections will not work. See also the UseCanonicalName directive.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address anyway, and this will make
# redirections work in a sensible way.
#
ServerName webserver
發表於 : 2005-10-26 23:28
由 咖啡不加糖
原文出處:
http://vbb3.twftp.org/showthread.php?t=7094
http://66.102.7.104/search?q=cache:...W&lr=lang_zh-TW
在這篇文章下面有提到\r
簡化的組態設定在 Apache 2.0 中,簡化了許多容易混淆的指令,例如「 Port 」和「 BindAddress 」指令以取消,若要鏈結( Binding )伺服器的 IP位址,只需要使用「 Listen 」指令,而利用「 ServerName 」指令所設定的伺服器名稱與連接埠號碼,僅適用於 Redirect 和 Virtual Host的識別。
我剛剛有下載單獨 Apache 2.0.55 的安裝包,好像是一開始安裝時就要設定
成8080了

,或者是你可以把 Listen IP:8080 改成這樣試試!