[Nitro] Nitro::Dispatcher::ROOT and running nitro in a subdirectory...

Bryan Soto bryan.a.soto at gmail.com
Sun Apr 9 02:27:03 EDT 2006

On 4/7/06, Andrew Thompson <vagabond at cataclysm-software.net> wrote:
> Bryan Soto wrote:
> >
> > With Apache, I ended up just using mod_rewrite and serving via a
> > virtual host. Might you be able to share your hacking? :)
> Well, that was the other possibility. My hacking was highly unqualified
> and I eventually gave up on it (paths for things like CSS files got all
> borked and the kludges to fix redirect and template lookup dirs was
> ugly). I'd be willing to help design and implement a real strategy for
> doing this though, but I don't know Nitro well enough to do it alone.

Well, let's open a ticket so I don't forget. I've got to finish up
with bugs and patches, but this is something I'd like. If nobody else
joins in, I'd be happy to help try. I'm not a Nitro expert, but
perhaps between the two of us, we can figure it out. :)


> >>
> >
> > I'm not sure, but perhaps what was outlined by Gergley might help? He
> > manipulated a controller class instance variable called
> > @template_root. See here for more info.
> >
> > http://rubyforge.org/pipermail/nitro-general/2006-March/003643.html
> No, that's not quite what I wanted, I wanted nitro ONLY running in a
> subdir, the DocumentRoot and other folders should/would be something
> totally different - rails or PHP or whatever.
> Andrew
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general

"Never tell people how to do things. Tell them what to do and they
will surprise you with their ingenuity." —General George S. Patton

More information about the Nitro-general mailing list