Loading...

apache下設置不顯示目錄列表 Indexes FollowSymLinks

Temperature: 0 °C

ChungChung
author_tools


apache下設置不顯示目錄列表 Indexes FollowSymLinks
選擇編輯httpd.conf文件

vi conf/httpd.conf

找到如下内容:

#
# Possible values for the Options directive are “None”, “All”,
# or any combination of:
Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that “MultiViews” must be named *explicitly* — “Options All”
# doesn’t give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be “All”, “None”, or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

在Options Indexes FollowSymLinks在Indexes前面加上 – 符號。即: Options -Indexes FollowSymLinks

以上紀錄
 

台北市內湖區江南街71巷75弄 Go

https://innstory.com/story-apache下設置不顯示目錄列表_Indexes_FollowSymLinks-1435
寫程式筆記

Prev
 我們家在下著豆腐雨呢看看這傢伙做了些甚麼

Next
Linux底下Apache啟動、停止、重啟指令 

Nearby Attractions

台北市內湖區江南街71巷75弄-Nearby Attractions

  • 黃氏節孝坊 Go
  • 牯嶺街高等官舍群 Go
  • 臺灣民主紀念園區 Go
  • 大稻埕千秋街店屋 Go
  • 總督府山林課宿舍 Go
  • 建國中學紅樓 Go

About the Author

Chung

我是chung
網路工作者
主業是網站系統開發建置
副業是做夢,寫故事
作品請參考/teme.biz
做夢請參考/innstory.com
聯絡/chung.teme@gmail.com

#有人用筆寫日記,有人用歲月寫日記,有人用照片寫日記,而我,用innstory寫日記。

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

在手機上如何建立網址到手機桌面中並且使用圖示

在手機上如何建立網址到手機桌...

上回做專案時,客戶說了手機桌面上的網站捷徑太醜,想要美化。 這回索性也幫Innstory美化一下,順...

定義404頁面

定義404頁面

什麼是頁面? HTTP 或Not Found錯誤訊息是HTTP的其中一種「標準回應訊息」(HTTP狀...

PHP自動補零!!

PHP自動補零!!

其實這個是基礎中的基礎....但我卻老是不願意記起來他的函式用法..@@ 剛剛..又用到了...啊所...

Recommended reading

Other stories happened at this address

鹽烤鯖魚佐高粱

鹽烤鯖魚佐高粱

那年,我為了烤地瓜而買的烤箱,這些年來真的只是為了烤地瓜而存在。 自從上次開箱烤了香魚後,終於也發現...

情境Blog

情境Blog

一直都認為,除了文字跟圖片外,應該要有其他的方式來將寫故事時的心情帶給閱讀者。 很久很久以前,我們會...

第133天,目前已晉升為翻身達人。

第133天,目前已晉升為翻身...

第天,目前已晉升為翻身達人。

我吃飽了,剩下的幫我打包。( ̄∇ ̄)

我吃飽了,剩下的幫我打包。(...

我吃飽了,剩下的幫我打包。( ̄∇ ̄)

多桑 - 李鴻欽(漫畫)

多桑 - 李鴻欽(漫畫)

第一次知道李鴻欽學長,是因為當時正在軍中服役.... 聽著軍中長官訴說曾經有位在同單位服役的學長,把...

我需要多一點正面能量

我需要多一點正面能量

最近有太多的負面情緒~ 所以收集了一些正面名言來激勵一下自己。 每次進入系統隨機挑一個名言顯示,顯示...

Please select an option

error

Hi, thank you for your participation, but you cannot vote repeatedly~

Join innstory now and start recording your story.

"Innstory" is a place to store stories. We are committed to becoming a warm platform. Deepening the bonds between people is our direction.
We are convinced that the blockchain between people is not just a cold calculation. Join us now.

Wrong format