module Main where
import Control.Monad
import Happstack.Server (nullConf, simpleHTTP, ok, dir, seeOther)
main :: IO ()
main = simpleHTTP nullConf $ msum
[ dir "hello" $ ok "Hello, World!"
, dir "goodbye" $ ok "Goodbye, World!"
, seeOther "/hello\n" "/hello"
]