domain.com/?????? 로 접속시 domain.com/redirect.html 로 리다이렉트 시키기
$HTTP["host"] =~ "(^|.)domain.com" {
server.document-root = "/home/domain.com"
url.redirect = ( "^/([a-z0-5]+[a-z0-5]+[a-z0-5]+[a-z0-5]+[a-z0-5]+[a-z0-5])" => "http://domain.com/redirect.html" )
}
# dommain.com/news/12345 접속시 domain2.com/news/12345 로 리다이렉트하기
$HTTP["host"] =~ "(^|.)domain.com" {
server.document-root = "/home/domain.com/www"
url.redirect = ( "^/news/(.*)" => "http://domain2.com/news/$1" )
}