歡迎光臨, 訪客. 請先 登入註冊一個帳號.
五月 16, 2024, 07:35:44 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  如何將sub-domain指到清潔網址 而不是找不到index.html « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 如何將sub-domain指到清潔網址 而不是找不到index.html  (閱讀 11293 次)
davekuo
新手見習
*
文章: 17


檢視個人資料
« 於: 五月 23, 2006, 12:03:34 上午 »

大家好

我目前在ipowerweb的share hosting上架設blog
我目前的plog網址設定為清潔網址  (http://www.mcgill-taiwan.org/app/blog/2)
但當我把sub-domain 的domain設成 http://blog.mcgill-taiwan.org 也指到清潔網址 http://www.mcgill-taiwan.org/app/blog/2

老是browser 會連到ndex.html 是否有其它的辦法連到清潔網址所指到的Plog

謝謝
DAVE
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #1 於: 五月 23, 2006, 10:30:47 下午 »

Hi Dave:

不太懂你的問題。你能在解釋一下嗎?

Mark
已記錄

davekuo
新手見習
*
文章: 17


檢視個人資料
« 回覆文章 #2 於: 五月 27, 2006, 02:13:24 上午 »

Dear Mark,

HI! I will try to use ENGLISH to explain correctly (I am sorry to use English here)

Basically I am trying to setup my sub-domain configuration in IPowerWeb. In the sub-domain setting, it only allows me to input the absolute path of the sub-domain name which it will map to.

in my case, I want to create a sub-main called "http://blog.mcgill-taiwan.org" and it supposed to map to one of the blog which I have created. The absolute path of the blog is "http://www.mcgill-taiwan.org/app/blog/2".

The problem the sub-domain setting in IPowerWeb is only to the folder level not the actual file name. Therefore, the sub-domain will try to find the index.html or index.htm in the folder of "/app/blog/2".

Since I don't know what is the actual file name that the blog path name points to, "http://www.mcgill-taiwan.org/app/blog/2" is it supposed to something likt /app/blog/2/xxx.file-extension? If yes, then what do I need to do so that it will find to that file instead of pointing to the index.html/index.htm

Hope that the explaination is clear.
已記錄
jerome
新手見習
*
文章: 42



檢視個人資料 個人網站
« 回覆文章 #3 於: 五月 28, 2006, 07:39:47 上午 »

不知道您用哪一種方式
我是用 Redirect to URL
可以達到您的需求
已記錄

歡迎光臨,惡人最多之 BeB
http://beb.anyday.com.tw/
davekuo
新手見習
*
文章: 17


檢視個人資料
« 回覆文章 #4 於: 五月 29, 2006, 10:34:48 下午 »


Thank you! So let me make sure if I understand:
(1) set the sub-domain http://blog.mcgill-taiwan.org, and link it to "http://www.mcgill-taiwan.org/app/blog/2"
(2) create a index.html to re-direct to "http://www.mcgill-taiwan.org/app/blog/2"

but the problem is that after redirecting, I would still like to see the http://blog.mcgill-taiwan.org/ domain instead of the actual "http://www.mcgill-taiwan.org/app/blog/2".

here is example of my re-direction (it will switch after 5 sec) http://blog.mcgill-taiwan.org

Can anyone help me?

Dave
已記錄
頁: [1]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  如何將sub-domain指到清潔網址 而不是找不到index.html « 上篇主題 下篇主題 »
    前往: