Multiple web server support

16 posts / 0 new
Last post
#1 Fri, 03/31/2006 - 14:44
KavehAhmadian

Multiple web server support

It would be nice if one could run Lighttpd instead of or along side Apache. This would allow for some clients (who might be running Rails apps) to FastCGI built into Lighttpd instead of the module for Apache 2

Tue, 04/11/2006 - 17:40
Joe
Joe's picture

Hey Kaveh,

This is on the agenda. We have at least one large client of Virtualmin that prefers Lighttpd, and every once in a while I hear rumblings wishing for support...so it is definitely on the agenda. It won't be in the immediate future (we're shooting for stability, bug fixes, and a few additional features, plus platform support in the immediate future), but I'd be surprised if three or four months down the road there isn't some initial support for it.

--

Check out the forum guidelines!

Sun, 11/05/2006 - 09:56
MatthewWilliams

I also would like to see lighttpd support as a replacement for Apache, make it an install option.

Config options:

Install with Apache only
Install with lighttpd only
Install with Apache on port 80, and lighttpd on 8080
Install with lighttpd on port 80, and Apache on 8080
Install Apache with proxy to lighttpd
Install lighttpd with proxy to Apache

Just my thoughts.

Sun, 11/05/2006 - 11:02 (Reply to #3)
Joe
Joe's picture

Hey Matthew,

I'll chat with Jamie about how difficult those extra options would be. It's certainly not impossible, but probably would require quite a bit of additional GUI elements to represent all of these options (and we're trying very hard to avoid adding more GUI elements...people are already scared to death by all of the options, and we're actively working to hide, remove and simplify the existing choices). Features and flexibility are the enemy of easy in a lot of cases, and we're getting quite a bit of pushback on the lack of easy in some of our forms. ;-)

So, it's not out of the question, but it won't be in the very near future.

--

Check out the forum guidelines!

Tue, 02/06/2007 - 22:10
sitespark

To chime in re: request for Lighttpd support.

Given issues with Apache (memory bloat), that u've been helping me thru Joe (Ta!), i'm very interested in testing Lighttpd.
The only reason for not going with Lighttpd at the start of my project was the 'time tasted' stability of Apache.
And the only reason for not testing now is lack of support in VirtualMin (i just found out).

I'd also suggest that the addition of Lighttpd wld also make VirtualMin a viable CP of choice for the RoR kids, hosts, etc; a very large and growing market.

Wed, 02/07/2007 - 14:07 (Reply to #5)
Joe
Joe's picture

Hey guys,

Apache isn't really very heavy for what it is and what it does...it just does a lot. It can also be reduced in size, if high load is not expected. You'd be giving up quite a lot of functionality going to Lighttpd. If you aren't using any of that extra functionality, then it's not a problem--but it's often hard to get just the right intersect of "features-we-need" with an "only-the-features-we-need" product.

As for RoR...When mod_fcgid becomes the default execution model after install later this week, RoR will drop right in. RoR runs just fine under Apache+mod_fcgid (I actually developed a RoR application last year that runs that way). The addition of mod_fcgid might actually allow us to shrink Apache a bit, as we could entirely remove mod_php. mod_php is a pretty big component...so stripping it out entirely certainly won't hurt--looks like it takes out about 90MB when removing mod_php5 on my desktop machine.

But, as I mentioned, we're not gonna rule out Light. It's just such a large undertaking, and it would take us away from the other pretty major projects underway: AJAX theme--first release is about a week away!--but we'll still have a month or two of effort required to hook up lots of little niceties, like AJAXed pagination, auto-complete in Usermin webmail address field, real-time updates of graphs and database grids, etc.

Not to mention all of the remaining backend work, and OS support work. FreeBSD users are beginning to sharpen their pitchforks, and Dovecot 1.0 needs to roll out to everyone ASAP so we can switch to 750 permissions for all domain homes. All around, a lot of big projects under way already. I have good reason to believe we'll be making a couple of hires in two or three months, so at that point we may be able to expand our efforts to include another webserver. But I definitely can't commit to Light support anytime in the next couple of months. (And we'll want to see a lot more users who actually want it before adding one more confusing set of features to an already complex system.)

--

Check out the forum guidelines!

Thu, 05/21/2009 - 14:05 (Reply to #6)
vitic

Just to add my two cents here, two years after the previous message has been posted, is that Apache SUCKS big time. It is a dinosaur of modern web servers. Yes, it works just fine under light to moderate load but starts eating up resource very quickly once the load is high. There is a reason why sites like youtube.com or google.com don't use Apache. I have battled high load problems with Apache for a long time until I finally got sick of it and switched to Lighttpd. As for so called advanced features of Apache, 90%+ of sites don't need them or can work around them. Also, Lighttpd works just fine under Virtualmin with disabled Apache startup (Apache is still enabled in Virtualmin sites but not running). Just enable mod_evhost in lighttpd.conf and add the following line to the same config file:

evhost.path-pattern = "/home/%3.%0/public_html/"

After that each site created via Virtualmin will be automatically accessible by Lighttpd.

Tue, 11/16/2010 - 16:32 (Reply to #7)
ashishpadave

This wont work with aliases or will it ?

Since the alias domain not have its own folder?

Thu, 03/17/2011 - 18:59 (Reply to #8)
rizzopablo

May be you can make a link with the alias name, like:

main: domain.com alias: alias.com

ln -s /home/domain.com /home/alias.com

Fri, 03/18/2011 - 00:38 (Reply to #9)
ashishpadave

How wud you automate the link creation process? Or do we manually have to create the link after each Virtual server creation?

Thu, 03/17/2011 - 19:02 (Reply to #10)
rizzopablo

I agree

May be you only need to add an option to virtualmin configuration that just hides all apache related options if lighttpd is selected to use, and avoid apache service to startup.

Thu, 11/03/2011 - 18:34
MikelBGI

Hi everyone,

I see there have been requests for Vmin to be able to add additional web servers. I'm wondering how to do this. I want to keep the web server separate from the mail/dns/etc. Is it possible to have another vmin server just do web hosting but still controlled by the main vMin server?

Any thought would be appreciated.

Thank you!

Thu, 11/03/2011 - 23:11 (Reply to #12)
andreychek

Well, there isn't a good way to handle that now... but keep your eyes open for Nginx support, that will be available in the near future :-)

-Eric

Tue, 11/22/2011 - 15:29 (Reply to #13)
MikelBGI

Thanks for the update.

Mon, 02/12/2018 - 15:02
r3chn3r

Any news on lighttpd?

Been years since this thread was started...

Tue, 02/13/2018 - 14:35 (Reply to #15)
Joe
Joe's picture

Nobody has asked for Lightttpd in years. nginx has been supported for quite a long time (since before Virtualmin 5, though I don't recall exactly when it was introduced), and it seems to have a lot more momentum than Lighty. I don't think we'll ever do anything with Lighttpd unless/until it rises in popularity.

We'd be happy to lend advice to someone who wants to implement a plugin for other servers, though. I won't say it's easy (web servers are complicated and managing them is complicated), but it is entirely pluggable now, since nginx support came along, so it's possible to add new web server support without touching Virtualmin core.

--

Check out the forum guidelines!

Topic locked