[Nitro] cgi adapter and trivial patch

arne at arnebrasseur.net arne at arnebrasseur.net
Thu Oct 25 23:44:07 EDT 2007

> What I'm not sure about is which ENV variable to strip SCRIPT_NAME off
> of to get URI generators working, e.g., how to get SCRIPT_NAME prepended
> to the results of "redirect MyController, :foo_action"

For URI generation it should hook into the EncodeURI module. Maybe a hook
should be provided to more easily do this?

> Anyhow, here's a trivial patch that gets the adapter to compile all ---
> the 'end' for Module Raw was missing at the end of raw/adapter/cgi.rb

Oops, probably my bad, or something went wrong with the patching.


More information about the Nitro-general mailing list