主題: 如何將sub-domain指到清潔網址 而不是找不到index.html 作者: davekuo 於 五月 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 主題: Re: 如何將sub-domain指到清潔網址 而不是找不到index.html 作者: markwu 於 五月 23, 2006, 10:30:47 下午 Hi Dave:
不太懂你的問題。你能在解釋一下嗎? Mark 主題: Re: 如何將sub-domain指到清潔網址 而不是找不到index.html 作者: davekuo 於 五月 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. 主題: Re: 如何將sub-domain指到清潔網址 而不是找不到index.html 作者: jerome 於 五月 28, 2006, 07:39:47 上午 不知道您用哪一種方式
我是用 Redirect to URL 可以達到您的需求 主題: Re: 如何將sub-domain指到清潔網址 而不是找不到index.html 作者: davekuo 於 五月 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 |