[Nitro] request mangling
akonsu at gmail.com
Wed Nov 9 16:16:57 EST 2005
I recall I have seen code in either nitro or the related gems where it
adds "/index.html". just grep for "index.html". i think it has
something to do with nitro trying to decide which file to serve if
none is given.
2005/11/9, Tim Larson <tim at keow.org>:
> On Wed, Nov 09, 2005 at 11:13:57AM -0700, James Britt wrote:
> > Tim Larson wrote:
> > > I do not understand the request object...
> > > I ask for the url http://127.0.0.1:9999/report and it makes
> > > "REQUEST_URI"=>"report/" and "PATH_INFO"=>"/report/index.html"
> > > Where is it coming up with the trailing "/" and from that the
> > > trailing "index.html"?
> > .htaccess or some other web server URL rewriting?
> No, just using nitro-out-of-the-box with its built-in integration
> with webrick (just type "run.rb" to start).
> So unless that is doing something funny...
> --Tim Larson
> Nitro-general mailing list
> Nitro-general at rubyforge.org
More information about the Nitro-general