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

CentOS 5.2 使用 YUM 將 PHP 5.1.6 更新到 5.2.6

CentOS 5.2 使用 ...

CentOS 5. 版內建的 PHP 版本為 5..,甚至於 5. 版仍舊是 5.. 版本。 基於系...

關於資安防護

關於資安防護

一直以來我都不敢寫跟資安有關的文章..對我來說...資安一直是一個課題..XSS...CSRF......

地圖故事

地圖故事

map 一切都從第一張畫布開始... Innstory裡原先已有寫故事的功能,接著我把故事裡頭的照片...

Recommended reading

Other stories happened at this address

果然,光要畫好一隻眼睛,也著實的不容易啊~

果然,光要畫好一隻眼睛,也著...

s 果然,光要畫好一隻眼睛,也著實的不容易啊~ 但不管怎樣,這次畫的有比上回好太多了。 真的,我越來...

天!39快要失守了~

天!39快要失守了~

今早,FB傳來一個訊息...因為一位同學生日到了..... 我看著FB畫面中顯示著同學歲.... 靠...

意外的驚喜~

意外的驚喜~

自從照顧U到現在,真的是嚐遍了各種情緒。 動過怒、擔過心、開心過也甜蜜過~ 老實說,照顧小孩著實困難...

很久沒畫了~2015年11月29日這是我第一張嘗試畫在手機裡~

很久沒畫了~2015年11月...

s 小時候~喜歡畫畫,但其實是模仿著家姐的腳步~ 我姐姐以前畫畫很灑脫~隨便幾筆、隨便上色~看起來都...

聽說今天是父親節啊~

聽說今天是父親節啊~

給U吃餅乾~ 結果他把餅乾弄碎了給我當痱子粉抹在身上.... 現在整個身體倒是充滿了千層鬆塔的甜味....

進階版章節功能

進階版章節功能

bb 將章節功能做了一個修正~ 原本只能點擊【接續下一篇】,目前新增了一個更多章節的選項。 讓閱讀的...

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