memo.xight.org

日々のメモ

Apacheの設定 - IIS狙いのアクセスを自分宛に

Summary

IIS狙いのアクセスを127.0.0.1へリダイレクト
<IfModule mod_rewrite.c>
# http://www.microsoft.com ?
# http://127.0.0.1/ ?
RedirectMatch permanent (.*)\/_vti_bin\/(.*)$ http://127.0.0.1/$1
RedirectMatch permanent (.*)\/_mem_bin\/(.*)$ http://127.0.0.1/$1
RedirectMatch permanent (.*)\/c\/winnt\/(.*)$ http://127.0.0.1/$1
RedirectMatch permanent (.*)\/d\/winnt\/(.*)$ http://127.0.0.1/$1
RedirectMatch permanent (.*)\/default.ida(.*)$ http://127.0.0.1/$1
RedirectMatch permanent (.*)\/msadc\/(.*)$ http://127.0.0.1/$1
RedirectMatch permanent (.*)\/MSADC\/(.*)$ http://127.0.0.1/$1
RedirectMatch permanent (.*)\/scripts\/\.\.(.*)$ http://127.0.0.1/$1
RedirectMatch permanent (.*)\/x90\/(.*)$ http://127.0.0.1/$1
RedirectMatch permanent (.*)Admin.dll(.*)$ http://127.0.0.1/$1
RedirectMatch permanent (.*)cmd.exe(.*)$ http://127.0.0.1/$1
RedirectMatch permanent (.*)null.ida(.*)$ http://127.0.0.1/$1
RedirectMatch permanent (.*)NULL.IDA(.*)$ http://127.0.0.1/$1
RedirectMatch permanent (.*)root.exe(.*)$ http://127.0.0.1/$1
</IfModule>

Reference

http://online.spacetag.jp/board.php?lang=JPN&bid=5&mode=view&uid=151