<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://drupaltaiwan.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Drupal Taiwan 正體中文支援站 - 一個關於網域網址的困擾 - 回應</title>
 <link>http://drupaltaiwan.org/forum/20070306/973</link>
 <description>Comments for &quot;一個關於網域網址的困擾&quot;</description>
 <language>zh-hant</language>
<item>
 <title>Re: 一個關於網域網址的困擾</title>
 <link>http://drupaltaiwan.org/forum/20070306/973#comment-2573</link>
 <description>&lt;p&gt;謝謝charlesc。過了好多天才有空測試看看，現在才發現有些問題。&lt;br /&gt;
TKY仿照kourge提供的方法，在.htaccess中寫了這兩行：&lt;/p&gt;
&lt;p&gt;RewriteCond %{HTTP_HOST} www\.hss.nthu.edu.tw\.~phil$&lt;br /&gt;
RewriteRule ^(.*)$ http://www.phil.nthu.edu.tw/$1 [R=301,L]&lt;/p&gt;
&lt;p&gt;不過這樣寫並沒有用，搜尋引擎上的舊網址沒有被導引到新網址中。&lt;/p&gt;
&lt;p&gt;後還看了一下.htaccess中的說明，加了!^進去：&lt;/p&gt;
&lt;p&gt;RewriteCond %{HTTP_HOST} !^www\.hss.nthu.edu.tw\.~phil$&lt;br /&gt;
RewriteRule ^(.*)$ http://www.phil.nthu.edu.tw/$1 [R=301,L]&lt;/p&gt;
&lt;p&gt;結果導向成功，出現了新網址，但Firefox給TKY這樣的錯誤訊息：&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;此網頁的重新導向(Redirect)方式不正確&lt;br /&gt;Firefox 偵測到伺服器對此網址的設定有問題，會變成永無止境的重新導向 (Redirect)。&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp; 這個問題可能是由於你拒絕該網站使用 Cookie 所造成的。&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
IE則是在許久之後給TKY一個：無法連線的訊息。&lt;/p&gt;
&lt;p&gt;請問，這是要怎樣辦才好啊？&lt;br /&gt;
tky&lt;/p&gt;
</description>
 <pubDate>Sat, 17 Mar 2007 17:13:41 +0800</pubDate>
 <dc:creator>tky</dc:creator>
 <guid isPermaLink="false">comment 2573 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: 一個關於網域網址的困擾</title>
 <link>http://drupaltaiwan.org/forum/20070306/973#comment-2491</link>
 <description>&lt;p&gt;可以參考 kourge 在本站換網域時所提供的方法：&lt;br /&gt;
&lt;a href=&quot;http://drupaltaiwan.org/forum/20061221/689#comment-1803&quot; title=&quot;http://drupaltaiwan.org/forum/20061221/689#comment-1803&quot;&gt;http://drupaltaiwan.org/forum/20061221/689#comment-1803&lt;/a&gt;&lt;/p&gt;
</description>
 <pubDate>Wed, 07 Mar 2007 14:39:03 +0800</pubDate>
 <dc:creator>charlesc</dc:creator>
 <guid isPermaLink="false">comment 2491 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>一個關於網域網址的困擾</title>
 <link>http://drupaltaiwan.org/forum/20070306/973</link>
 <description>&lt;p&gt;各位好：&lt;/p&gt;
&lt;p&gt;TKY最近發現一個關於網域網址的困擾。TKY的網管將TKY網站醜醜的網址，由hss.nthu.edu.tw/~phil/改成比較正式的www.phil.nthu.edu.tw。&lt;/p&gt;
</description>
 <comments>http://drupaltaiwan.org/forum/20070306/973#comments</comments>
 <category domain="http://drupaltaiwan.org/taxonomy/term/2">一般討論</category>
 <category domain="http://drupaltaiwan.org/taxonomy/term/172">5.x</category>
 <category domain="http://drupaltaiwan.org/taxonomy/term/31">4.7.x</category>
 <pubDate>Tue, 06 Mar 2007 23:52:57 +0800</pubDate>
 <dc:creator>tky</dc:creator>
 <guid isPermaLink="false">973 at http://drupaltaiwan.org</guid>
</item>
</channel>
</rss>
