start_webrick(:DocumentRoot => '/var/www') is functionally similar to: start_webrick {|server| doc_root = ='/var/www' server.mount("/" HTTPServlet::FileHandler doc_root, {:FancyIndexing=>true}) }