(rewrite
    (when (![! 'www.*'] host-name))
    (reply 301 (& 'http://' 'www.' host-name short-url))
)
