UJP - Raspberry Pi3でApache2の/usr/shareを無効化する

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

  • カテゴリ Raspberry Pi の最新配信
  • RSS
  • RDF
  • ATOM

ブログ - Raspberry Pi3でApache2の/usr/shareを無効化する

Raspberry Pi3でApache2の/usr/shareを無効化する

カテゴリ : 
PC » Raspberry Pi
ブロガー : 
ujpblog 2017/10/19 0:47
 デフォルトでは/usr/shareが参照可能のようなことになっているが,普通は不要なので消す.

root@commet:/etc/apache2# diff -d apache2.conf.20171019 apache2.conf🆑
159,162c159,163
< <Directory /usr/share>
< 	AllowOverride None
< 	Require all granted
< </Directory>
---
> #20171019 comment out🈁
> #<Directory /usr/share>
> #	AllowOverride None
> #	Require all granted
> #</Directory>
root@commet:/etc/apache2#

トラックバック


広告スペース
Google