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

PHP 利用phpmailer 寄信...

PHP 利用phpmaile...

一般來說其實PHP本身已經提供了Mail()函數可以使用,但由於一些令人不愉快的原因...我租用的V...

解決png圖檔GD合圖後背景色塊問題

解決png圖檔GD合圖後背景...

重點在於設定圖片走透明通道~ $img = imagecreatefrompng($src); im...

分享 (励志短片) 王德顺 《最炫东北人》 完整版 Wang Deshun - Coolest Northeasterner (Inspirational Short Film)

分享 (励志短片) 王德顺 ...

我們都還年輕啊~ 還是可以一直做夢下去的。 只要有夢,我將可以走的更遠。 我是chung 主業做夢,...

Recommended reading

Other stories happened at this address

音樂,就像是時光機器。許茹芸-獨角戲

音樂,就像是時光機器。許茹芸...

音樂,就像是時光機器。 聽著聽著.......,不小心就跌入了記憶的漩渦裡~ 這也是一個人寫code...

下一站,父親。

下一站,父親。

i 我無法掩飾我內心的喜悅... 為了等待你的到來,我跟你媽媽也歷經了數個年頭的等待、期待... 因...

當兒子非常非常需要你的時候~

當兒子非常非常需要你的時候~...

當兒子非常非常需要你的時候~ 不得不我只好改變我的工作環境.........(╯з╰) s 硬生生的...

一早開機就遇到這畫面,是說我可以提早收工了嗎?

一早開機就遇到這畫面,是說我...

一早開機就遇到這畫面,是說我可以提早收工了嗎?

串接opendata氣象資訊

串接opendata氣象資訊...

研究了幾天的opendata(政府資訊開放平台)https:...

還是Chloe魅力無敵啊~

還是Chloe魅力無敵啊~

趁著兒子午睡,悄悄的把他懷中百味雜陳的Chloe送去洗澡~ 想說要過年了,也該清潔一下了。 怎知兒子...

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