The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Rails on Lighttpd (with FreeBSD Instructions)

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Rails on Lighttpd (with FreeBSD Instructions) Posted: Feb 8, 2005 12:30 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Rails on Lighttpd (with FreeBSD Instructions)
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

Jason Hoffman of the red-friendly server farm TextDrive, has a thorough expository of one Apache-alternative in his Should I Consider Lighttpd? Leveraging his experience with Rails hosting, he weighs the feature set of lighttpd against his essentials for a Rails application.

I think the best analogy for lighttpd to Those Who Rail Against the Machine would “Webrick that does FastCGI”: a single lighttpd instance is easy to compile, configure and get running for a single Rails App (it took me less than 10 minutes to have Manuals running under lighttpd).

It’s especially promising that the lighttpd site itself has Ruby and Rails running! (See the right-hand column.)

The most exhaustive setup instructions can be found on this Rails on Debian howto. I’m just going to offer a few setup pointers on FreeBSD, assuming you have a Rails setup already.

 cd /usr/ports/www/lighttpd
 make install

 # Add: lighttpd_enable="YES" 
 vim /etc/rc.conf

 cd /usr/local/etc
 cp lighttpd.conf.sample lighttpd.conf

 # Follow step '6c' in the Rails on Debian tutorial
 vim lighttpd.conf

 /usr/local/etc/rc.d/lighttpd.sh start

I love that it comes with some many Apache-a-likes. For example, mod_rewrite.

You know what would be cool? Ruby configuration. Complete Ruby configuration.

Read: Rails on Lighttpd (with FreeBSD Instructions)

Topic: Snowdevil: First e-tailer on Rails Previous Topic   Next Topic Topic: One Small Serving of WebApp Tips

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use