As you can see this blog is powered on lighttpd web server platform. Lighttpd is very fast when compared with apache for static content delivery. But wordpress is not all static but there is slight performance improvement over apache and very lower memory usage can survive digg effect.
But with lighttpd biggest problem is you cant use smartass permalinks on wordpress like me. Ex- www.ruchirablog.com/post-title instead of www.ruchirablog.com/p=44
If you are smart in linux and compilations of server ware this might be simple problem to you. But for average users like us this is a really messy questions.
Lets get to the topic,
Setting up lighttpd is very easy like apache with kloxo search this blog for “installing kloxo” for kloxo installation guide. Kloxo will install both lighttpd and apache in default and you can switch between them on single click.
IF you are using kloxo as your server management tool keep noticed that your kloxo installation doesnt include lighttpd mod_magnet to use permalinks with easy. Integrating mod_magnet will be difficult because kloxo platform is bit complex and its having some issues when installing like normal.
So forget permalinks with mod_magnet even you are with kloxo or other setup of lighttpd.There is much easier way of using all kinds of permalinks in just single line of mod in lighttpd.conf file.
Just fire up your SSH client (PUTTY)
Enter to your server by using root privileges.
Then you need to find and edit lighttpd.conf file on your server. If you dont know where is lighttpd.conf file type
It will display the path to lighttpd.conf file
Then fireup your favorite text editor ( my favorite is NANO to install nano type “Yum install nano” on SSH )
then open lighttpd.conf with NANO. Command for this on kloxo setup is “nano /etc/lighttpd/lighttpd.conf”
Then add this simple line to your lighttpd.conf file.
server.error-handler-404 = "/index.php"
This one line support for all structures of permalinks. No matter what it is.
This is it one simple line does it all instead of crazy mod_magnets
But please note that plugin WP-Super-Cache will not work with this mod. it needs mod_magnet but you can use WP-Cache or Hyper-cache plugins as you caching plugin. I personally use Hyper-Cache but ill test WP-Cache later too.
Last 5 posts by Ruchira
- Slotomania Free Slot Games Review - February 24th, 2015
- The Role of Social Media and SEO - October 25th, 2013
- Google announces uProxy to overcome internet censorship - October 22nd, 2013
- Command line bandwidth monitors for Linux - October 21st, 2013
- Problem Kids: When You Know How To Spy On iPhone Remotely, You Worry Less And Focus Better! - August 19th, 2013