以下は、httpd.confの設定
リダイレクト設定
Redirect /index.html http://www.example.com/new/
/consumer/ディレクトリ以下のファイルにアクセスがある場合に、redirect.htmlへリダイレクト
RedirectMatch ^/consumer/(.*) /redirect.html
※redirect.htmlを/consumer/配下に配置すると無限ループに陥るため、/consumer/とは別のディレクトリに配置すること!
存在しないページへアクセスされた場合は、指定したページを表示(不要かも)
ErrorDocument 404 /consumer/redirect.html
※相対パスで書くこと!
Apacheのリダイレクト機能を使ってディレクトリ単位でURL転送を行う