# matching /mypage and /mypage/ but not /mypage.php and redirecting # the user to /mything.php?page=mypage url.rewrite = ( "^/([^\.\/]+)\/?$" => "/mything.php?page=$1" )