Configuring Lighttpd for WordPress with Rewrites

Today I had to configure a WordPress website to use Lighttpd. I looked for the proper rewrites to use and only received garbled information about the rewrites. So instead of forgetting it again for the umpteenth time, I will post my getting WordPress to work with Lighttpd tips / tricks here.

First up there are three key rewrites to get Lighttpd to work with WordPress. They are as follows: (note mod_rewrite will need to be enabled and this is in the lighttpd.conf).

url.rewrite = (
        "^/(wp-admin|wp-includes|wp-content)/(.*)" => "$0",
  "^/(.*).(.+)$" => "$0",
  "^/(.+)/?$" => "/index.php/$1"
)
									

The second key item is making sure that the error handler is set properly.… Read More

OpenVPN Manual Install Android Samsung Galaxy S4

OpenVPN on AndroidLast night I wanted to connect to my VPN to have access to the server resources on my T-Mobile Galaxy S4. Unfortunately it seems that installing the OpenVPN Installer App from the Play Store has been broken on 4.3 and up versions of Android. Thankfully I was able to hack together a few steps that will allow you to install the OpenVPN binary needed to use the OpenVPN Settings App. Even more so I decided to document how I was able to install the binary in this blog, if only so I have a tutorial for when I re-rom my phone.… Read More

Hacking NGINX and PHP-FPM Running Debian

A guy trying to get NGINX / PHP-FPM working

Keeping logs is a part of system administration. For me, I keep my logs of items I have installed in my articles. This way I always have the instructions to reference when I need to look back and do other installs. Today I am writing about how to setup NGINX that uses PHP-FPM on Debian. This can be a faster alternative to FastCGI in that you set the number of instances it will always run and the max that PHP-FPM is allowed to run. PHP-FPM allows for more control making a PHP server lighter weight when the extra weight is not necessary.… Read More

Redmine on Debian 6 with Unicorn and NGINX

A unicorn with it's refelction in water.Redmine is perhaps my favorite Bug tracking, ticketing, wiki, forum, documentation software there is. My only complaint in the past about Redmine was the fact that you needed to use Passanger to run it (which is a RAM hog). Having a bunch of low end VPS’s (Virtual Private Servers) I decided to attempt hacking Redmine onto a 128MB Ram box. Well after doing my research I came upon a neat little trick, Unicorn. Unicorn is a webserver that we can use in place of Passanger to serve Redmine to NGINX, our main webserver. Time to gallop to the setup.… Read More

Setup SVN with SSL using Apache2 on Linux (Debian)

The past few days I have been digging and diving and reading through many different tutorials about setting up SVN (or Subversion) through Apache2 on Debian based Linux Distro's. After many trials and errors and taking down my webserver a few times I finally was able to get a full on SVN Server for my main website up and running with Authentication over SSL, and here is my tale.

Read the full blog

Dell WiFi Problems Under Ubuntu 9.10 Koalic Koala

This morning I found myself ripping my hair out attempting to get my wireless card working on my new dual boot Ubuntu 9.10 / Windows 7 setup. The wireless worked great on Windows 7, but alas, the dreaded Ubuntu Karmic Koala was putting up a fight! Well here is how I was able to get my wireless card to work on Ubuntuo 9.10 Karmic Koala...

Read the full blog

↑ BACK TO THE TOP ↑