Book Image

Lighttpd

By : Andre Bogus
Book Image

Lighttpd

By: Andre Bogus

Overview of this book

Table of Contents (20 chapters)
Lighttpd
Credits
About the Author
About the Reviewer
Preface
HTTP Status Codes

Chapter 11. CGI Revisited

In this chapter, we will go through some example setups of popular web applications and frameworks, and see how they can be made to work with Lighttpd. We will set up the following popular applications and frameworks:

  • Ruby on Rails

  • WordPress

  • PhPMyAdmin

  • MediaWiki

  • trac

  • AWStats

  • AjaxTerm

Now without further ado, let's configure our Lighttpd to work with Rails:

Ruby on Rails

Ruby on Rails is a popular web application framework that has generated a lot of hype since 2006. We can find it at http://www.rubyonrails.org. It usually works with Apache, but with some simple configuration and mod_fastcgi we can make it fly with Lighttpd.

Note

Ensure a full FastCGI installation

As stated in Chapter 1, depending on our system, we might need to add fastcgi-devel packages to actually use it. If our Lighttpd has mod_fastcgi, we should be fine.

First, if we do not already have mod_fastcgi, we need to install the Ruby interpreter. The download page at http://www.ruby-lang.org/de/downloads/ has directions...