【工具】.htaccess 線上製作 / 目錄 / 加密 / 導向 / 錯誤頁面 / 存取限制

網站:.htaccesseditor [多國語言 – 繁體]
網址:http://www.htaccesseditor.com/tc.shtml
[ 說明 ]
我們知道.htaccess有很多功能,像是若無index時,是否允許顯示目錄下的檔案。
運用.htpasswd製作網站加密。設置400.401.403.404.500.等錯誤頁面。預設index。
統一有無www及設置轉址。或是做網頁存取的限制。


 
STEP1: 是否顯示檔案列表 若無特別用途,建議您選擇「是」
P_29
 
STEP2: 設置.htpasswd密碼
P_30
 
STEP3: 設定錯誤頁面 400 Bad Request 、401 Auth Req’d 、402 Payment Req’d 、403 Forbidden 、404 Not Found 、405 Method Not Allowed 、406 Not Acceptable 、407 Proxy Auth Repid 、408 Request Time Out 、409 Conficting Request 、410 Gone 、411 Content Len Req’d 、412 Precondition Failed 、413 Entity Too Long 、414 URI Too Long 、500 Int, Server Error 、501 Not Implemented 、502 Bad Gateway 、503 Service Unavailable 、504 Gateway Timeout 、505 HTTP Ver Not Sup
P_31
 
STEP4: 設定預設頁面
P_32
 
STEP5: 訂定www統一網址
P_33
 
STEP6: 導向轉址網頁
P_34
 
STEP7: 存取設定
P_35