Displaying 3 results from an estimated 3 matches for "redirecthandler".
2006 Jul 21
1
RedirectHandler? mongrel_rewrite?
Hey guys.
I''ve been playing with RedirectHandler and it''s pretty neat, but I
question its usefulness.
At work we do the trendy "/javascripts/spy.1152734636.js"-style asset
includes rather than the default Rails style of "/javascripts/spy.js?
1152734636". This is no problem with mod_rewrite as we run the basic...
2006 Jun 21
7
Mongrel 0.3.13.1 -- Quick Small Fixes
Hi Everyone,
This is a small release that fixes a little bug, some of the
documentation, and adds the new RedirectHandler code and a @redirect@
call for the mongrel.conf files. It''s fresh so don''t rely on it.
Everyone should upgrade with the usual *gem update* command (which tells
you it''s "Upgrading...") and tell me how it works.
This release fixes:
* The -C configure file opti...
2008 Jan 04
1
Howto write a mongrel handler for a CGI app using CGIWrapper
...;], cgi[''pass''])
else
ape.check(cgi[''uri''])
end
response.start(200, true) do |head, body|
ape.report(output=body)
end
end
end
h = Mongrel::HttpServer.new(''0.0.0.0'', 4000)
h.register(''/'', Mongrel::RedirectHandler.new(''/ape/index.html''))
h.register(''/ape'', Mongrel::DirHandler.new(File.dirname(__FILE__) +
''/layout'', true))
h.register(''/atompub/go'', ApeHandler.new)
h.run.join
]]]
--
Simon Rozet <simon at rozet.name>