![apache-test-page](https://lh3.googleusercontent.com/-XmTLAcH3olo/V_JwDIdU_rI/AAAAAAAABPY/wI7icafqTlA6aqoBjhg45DI5a54lFdnNQCCo/w400-o/apache-test-page.png)
welcome.confの以下の部分をコメントアウトすることで、apacheのtest page(Testing 123..)を非表示(Forbidden)にできる。
コメントアウトは、#。
welcome.confの場所は「/etc/httpd/conf.d/」
#<LocationMatch "^/+$"> # Options -Indexes # ErrorDocument 403 /.noindex.html #</LocationMatch>
上記修正後に、apacheの再起動を忘れない!
$ apachectl restart
以上で終了です。
apacheのtest pageが表示されず、Forbiddenが表示されていると思う。
![apache-test-page-forbidden.png](https://lh3.googleusercontent.com/-BOUPcX9WoGw/V_JwDMYgV9I/AAAAAAAABPk/KYQDIihoki0h5dhzMMCsBBdfWRAm9Q42ACCo/w600-o/apache-test-page-forbidden.png)