From: Michael Hale Date: 2002-11-21T01:44:05+09:00 Subject: redirect in webrick with eruby I am trying to do a redirect inside an erb page running under webrick. I was able to do a redirect like this: s.mount_proc("/redirect") { |request, response| response.set_redirect(WEBrick::HTTPStatus::MovedPermanently, "/") } However when I try to put the same code inside an erb page I get a internal server error. Any suggestions? Michael Hale - Software Developer RoleModel Software Inc. - The XP Software Studio www.rolemodelsoftware.com