主題: .htaccess小問題 作者: lordlpg 於 十月 28, 2006, 08:30:44 下午 hello, 我是剛使用LifeType的新人,我是照著wiki裡的教學文件安裝的,不過在最後修改.htaccess (http://wiki.lifetype.org.tw/index.php?title=Install_LifeType_through_Wizard)的部份有點疑問
我的LifeType目錄是C:\Appserv\www\lifetype ,請問.htaccess的部份要改成 RewriteBase / ... ErrorDocument 401 /error.php ErrorDocument 403 /error.php ErrorDocument 404 /error.php 還是 RewriteBase /lifetype/ ... ErrorDocument 401 /lifetype/error.php ErrorDocument 403 /lifetype/error.php ErrorDocument 404 /lifetype/error.php 這樣呢?Thanks! ps.我是裝LifeType 1.1.1 主題: Re: .htaccess小問題 作者: ajer001 於 十月 28, 2006, 09:13:36 下午 要看你的網址和資料夾的設定。
例如你的網址是 http://URL/,然後 Lifetype 的檔案直接放在根目錄下面, 也就是到 Lifetype 的網址是 http://URL/ 而已的話, 那就直接用 / 就可以了。 如果網址是 http://URL/,然後 Lifetype 的檔案放在根目錄下的 Blog 資料夾下面。 也就是到這些檔案的網址是 http://URL/Blog/ 的話, 那你就要設定 /Blog/ 。 希望看的懂@@ 主題: Re: .htaccess小問題 作者: lordlpg 於 十月 28, 2006, 09:51:06 下午 要看你的網址和資料夾的設定。 例如你的網址是 http://URL/,然後 Lifetype 的檔案直接放在根目錄下面, 也就是到 Lifetype 的網址是 http://URL/ 而已的話, 那就直接用 / 就可以了。 如果網址是 http://URL/,然後 Lifetype 的檔案放在根目錄下的 Blog 資料夾下面。 也就是到這些檔案的網址是 http://URL/Blog/ 的話, 那你就要設定 /Blog/ 。 希望看的懂@@ I see!Thanks! |