about summary refs log tree commit homepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/simpletest.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/simpletest.rb b/examples/simpletest.rb
index df1ad56..b82e2c6 100644
--- a/examples/simpletest.rb
+++ b/examples/simpletest.rb
@@ -40,6 +40,8 @@ config = Mongrel::Configurator.new :host => ARGV[0], :port => ARGV[1] do
     uri "/files", :handler => Mongrel::DirHandler.new(ARGV[2])
     uri "/files", :handler => stats
     uri "/status", :handler => Mongrel::StatusHandler.new(:stats_filter => stats)
+    redirect "/redir1", "/"
+    redirect "/to", /to/, 'w'
   end
 
   trap("INT") { stop }