「.htaccess」 檔案是 Apache 裡的一項功能,主要是用來限制你想要的限制功能,如禁止圖片盜連、密碼保護目錄、網頁存取限制、網頁重新導向、自訂錯誤頁面路徑等,不過 「.htaccess」 的語法實在令人想到就頭痛。
還好;有一家好心的日本網路公司,提供了線上「.htaccess 」製作,而且還他還提供繁體中文介面,有了它妳就可以快速幫妳產生「.htaccess」 檔案,讓你的伺服器有些基本的功能囉!!
線上製作.htaccess:http://www.htaccesseditor.com/tc.shtml
請將產生出來的內容複製並另外儲存為.htaccess 檔,置放於網站根目錄。
免費網頁空間和廉價網頁空間,應該沒有使用.htaccess 自訂網頁錯誤頁面的權限。
ErrorDocument 400 http://www.laiyo.net/
ErrorDocument 401 http://www.laiyo.net/
ErrorDocument 402 http://www.laiyo.net/
ErrorDocument 403 http://www.laiyo.net/
ErrorDocument 404 http://www.laiyo.net/
ErrorDocument 405 http://www.laiyo.net/
ErrorDocument 406 http://www.laiyo.net/
ErrorDocument 407 http://www.laiyo.net/
ErrorDocument 408 http://www.laiyo.net/
ErrorDocument 409 http://www.laiyo.net/
ErrorDocument 410 http://www.laiyo.net/
ErrorDocument 411 http://www.laiyo.net/
ErrorDocument 412 http://www.laiyo.net/
ErrorDocument 413 http://www.laiyo.net/
ErrorDocument 414 http://www.laiyo.net/
ErrorDocument 500 http://www.laiyo.net/
ErrorDocument 501 http://www.laiyo.net/
ErrorDocument 502 http://www.laiyo.net/
ErrorDocument 503 http://www.laiyo.net/
ErrorDocument 504 http://www.laiyo.net/
ErrorDocument 505 http://www.laiyo.net/
簡單網址生意,用10美元創造永續財富 www.riching.ws
very good internet business GDI Affiliates www.riching.ws