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

如何用javascript接收radio button被選取後的值

如何用javascript接...

剛剛竟然犯了最簡單的錯誤~ 而且還是在趕著時間的時候⊙⊙ 我竟然蠢到用接收input 的方式去接收 ...

使用jquery animate達到動態效果

使用jquery anima...

首先..雖然在寫系統時常常會用到jquery 但我並沒有針對他的指令有做太深入的研究... 剛好這一...

修練中

修練中

假日二胡修練中。

Recommended reading

Other stories happened at this address

童言童語,也太有禮貌篇...

童言童語,也太有禮貌篇......

U最近喜歡說的單字是「謝謝 」,而且也學會了在單字後面加上對象。 遞個東西給他,會說謝謝(爸爸),會...

想念太陽的溫度

想念太陽的溫度

做我這個行業的最怕沒有想法、沒有靈感。 我這幾天反覆地在修改一個要給客戶DEMO的版型~ 光是顏色就...

需要加點調味料嗎?

需要加點調味料嗎?

三個月了,最近常常若有所思的看著自己的雞腿肉~ 看了幾秒後又開心的塞入自己的口中。 看來是進入口腔期...

第一次吃副食品,你這表情也太有戲了吧!! 是有難吃到這樣嗎?

第一次吃副食品,你這表情也太...

第一次吃副食品,你這表情也太有戲了吧!! 是有難吃到這樣嗎?

人生就應該像這頑強生命力的地瓜葉

人生就應該像這頑強生命力的地...

前幾天,隨手將準備丟棄的地瓜葉梗插進原本要種植香菜的盆裡。 過了快一個星期,竟然多了幾片綠意~ 我的...

2個小孩果然不容易

2個小孩果然不容易

離開舒適圈(月子中心)回到主戰場(一家四口甜蜜的家)也近個星期了。 我深深體會到照顧個小孩,果然艱困...

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