close

Options -Indexes 把資料夾顯示 取消

Options +Indexes 把資料夾檔顯示 

AddType application/x-https-php .xxx 會把.xxx副檔用php來編

2. Order Deny,Allow

Deny from all
Allow from ip1

會先依order的順序做deny最後才allow

只允許ip1

3. Order deny,allow
#全部都可以通行(默认的)
-------------------------------
Order allow,deny
#全部都不能通行(默认的)

Order deny,allow
deny from all
#全部都不能通行

4.order deny allow 不管下面xxx順序,會先找deny做完,再找allow

xxx

xxx

5.allowOverride 允許htaccess 覆寫conf檔

6. [NC]  no case 不管大小寫

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 學習程式 的頭像
    學習程式

    程式學習日記,如果我幫助了你請讓我知道

    學習程式 發表在 痞客邦 留言(0) 人氣()