Home » Archive

Articles tagged with: Lighttpd

Planet Ubuntu, Ubuntu Tutorials »

[29 Apr 2009 | 17 Comments | 15,912 views]

After using Lighttpd for a couple of months, I wasn’t really happy with it, so I have decided to move from Lighttpd to Nginx, which is another open-source lightweight web server. In this tutorial, I am going to go over setting up Nginx, MySQL, and PHP5 on an Ubuntu server.

1. Install Nginx

aptitude install nginx
For some reason Nginx does not start automatically when it is installed, so we need to start Nginx.
/etc/init.d/nginx start
Now we want to make sure that Nginx installed properly. Open your web browser and point it to your …

Misc Tech Stuff, Planet Ubuntu »

[7 Mar 2009 | 13 Comments | 22,264 views]

Now that we have our LLMP Stack setup, we can setup our WordPress Blog. Because Lighttpd does not use a .htaccess file like Apache does, we need to create rewrite rules and put them in the Lighttpd configuration. These are the easiest rewrite rules out there as there is only one line.
All you have to do is add the following line to your vhost.
server.error-handler-404 = “/index.php”
So lets create our vhost. I prefer to create each vhost in a seperate file. We are going to create the vhost for chrisjohnston.org. To …

Planet Ubuntu, Ubuntu Tutorials »

[18 Feb 2009 | 11 Comments | 10,747 views]

I have wanted to switch from Apache to Lighttpd for my web server for quite a while. In this article I am going to go over my installation of Lighttpd, MySQL with phpmyadmin, and PHP5 on Ubuntu 8.10. In a future article I will go over setting up my sites to run on Lighttpd. I am running a 256mb ‘slice’ from Slicehost. For the basic setup of my slice I followed Slicehost’s Ubuntu Intrepid Setup Tutorial.