There's an echo in my head

日々のメモ。

apache

ApacheでRedirectMatch

正規表現を使ってURLリダイレクトを行うにはRedirectMatchを使う。 RedirectMatch permanent /(archive/.+) http://archive.aerial.st/$1 ちなみにRedirectMatchはVirtualHostディレクティブにも書ける。 参考 mod_alias

このブログに出てくるコードスニペッツは、引用あるいは断りがない限りMITライセンスです。