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部份 $(function(){...

PHP網路爬蟲之抓取Open Graph(OG) Meta tags

PHP網路爬蟲之抓取Open...

用google爬了很多文章.... 最後終於找到一篇內容..... 只是測試了半天...感覺奇怪為何...

Recommended reading

Other stories happened at this address

這是~菠蘿麵包.....

這是~菠蘿麵包.....

我記得我買的是菠蘿麵包..... 怎麼被U吃過後,突然覺得這麵包很可憐啊~~~ 這傢伙只給我拔下那金...

紅燒豆腐佐海尼根

紅燒豆腐佐海尼根

e 其實我並不愛把豆腐弄熱來吃~ 小時後的記憶~豆腐就是該從冰箱拿出來淋上點醬油.... 冰冰涼涼的...

突然想聽(王藍茵)-惡作劇

突然想聽(王藍茵)-惡作劇

某些時候,總會想起某些歌.... 這些歌都曾經為了生命中的一段記憶而存在。 哪怕這些記憶早已塵封在心...

一家人平平安安最幸福

一家人平平安安最幸福

一家人平平安安最幸福

鍾5U VS 孔雀餅乾

鍾5U VS 孔雀餅乾

午后,點心時間。 U自己拿了孔雀餅乾盒給我,用手指了指然後發出啊啊啊啊的聲音。 我知道他是告訴我他想...

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

Linux底下Apache啟...

a 如果apache安裝成為linux的服務的話,可以用以下命令操作: service httpd ...

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