[Momonga-devel.ja:02268] [security] httpd-2.0.48-1m 以前で DocumentRoot のリストが表示される問題
- From: YAMAZAKI Makoto <zaki@xxxxxxxxx>
- Date: Sat, 1 Nov 2003 18:16:34 +0900
zaki です。
http://www.st.ryukoku.ac.jp/~kjm/security/ml-archive/bugtraq/2003.10/msg00281.html
の件が Momonga のapache でも該当するようなので修正したものを
httpd-2.0.48-2m として commit しました。
httpd.conf の修正なので単にパッケージのアップデートをしただけでは
httpd.conf.rpmnew ができるだけで解決しません。
以下の単純な修正なので手動で httpd.conf を修正してください。
diff -u -r1.7 httpd.conf
--- httpd.conf 12 Jul 2003 02:30:41 -0000 1.7
+++ httpd.conf 1 Nov 2003 09:04:38 -0000
@@ -329,7 +329,7 @@
# Disable autoindex for the root directory, and present a
# default Welcome page if no other index page is present.
#
-<LocationMatch "^/$">
+<LocationMatch "^/*$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>
--
YAMAZAKI Makoto