Forum: Ruby on Rails One Lighttpd or many?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Paul B. (Guest)
on 2006-06-03 00:51
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?
Carmen -. (Guest)
on 2006-06-03 02:43
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..
Paul B. (Guest)
on 2006-06-03 13:03
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?
Carmen -. (Guest)
on 2006-06-04 06:14
> 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..
This topic is locked and can not be replied to.