I''m trying to get Lighttpd started, and understand how it works (not quite there yet with Ror). Some questions: 1) Can I run Lighttpd as a main server instead of Apache2? 2) When hosting different RoR projetcs, will there be one server for each? Or is it one server running all? 2) Can it do everything Apache can? Like PHP, webdav, etc? -- Posted via http://www.ruby-forum.com/.
P?l Bergstr?m wrote:> I''m trying to get Lighttpd started, and understand how it works (not > quite there yet with Ror). Some questions: > > 1) Can I run Lighttpd as a main server instead of Apache2?yep> 2) When hosting different RoR projetcs, will there be one server for > each? Or is it one server running all?there will be one fcgi or mongrel for each. and only one lighttpd.> 2) Can it do everything Apache can? Like PHP, webdav, etc?sure. my lighttpd serves static files, websvn, phpmyadmin.. -- Posted via http://www.ruby-forum.com/.
carmen wrote:> P?l Bergstr?m wrote: >> I''m trying to get Lighttpd started, and understand how it works (not >> quite there yet with Ror). Some questions: >> >> 1) Can I run Lighttpd as a main server instead of Apache2? > > yep > >> 2) When hosting different RoR projetcs, will there be one server for >> each? Or is it one server running all? > > there will be one fcgi or mongrel for each. and only one lighttpd. > >> 2) Can it do everything Apache can? Like PHP, webdav, etc? > > sure. my lighttpd serves static files, websvn, phpmyadmin..Looks like Lighttpd is slimmer but equally powerful as Apache, right? I''ve installed it, on Mac OS, but not sure where it''s located in the system. I found the lighttpd.conf file, but inside the ruby folder. Is that right? Is it like Apache that''s installed in one main folder? -- Posted via http://www.ruby-forum.com/.
> Looks like Lighttpd is slimmer but equally powerful as Apache, right?mostly. ive found certain modules are closely tied to apache (like ive got some sites written in mod_python''s PSP whose parser is a C apache module and so the apps are ''trapped'' in apache). im guessing theres similar cases for mod_perl, etc..> I''ve installed it, on Mac OS, but not sure where it''s located in the > system. I found the lighttpd.conf file, but inside the ruby folder. Is > that right? Is it like Apache that''s installed in one main folder?you might want to ps aux | grep lighttpd. to investigate if its already being launched on your system (i made a symlink from /etc/lighttpd/lighttpd.conf to the one in the rails dir initially). if you have lighttpd in your PATH, running ./script/server will automagically launch it instead of webrick. mongrel is quite useful on its own, but i havent investigated if it can run multiple rails sites per instance yet.. -- Posted via http://www.ruby-forum.com/.