Rewrite rule (LUA) for a Wordpress 2.x installation on the lighttpd web server
Pull request Compare This branch is 9 commits behind jpwenzel:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
COPYING
README
rewrite.lua

README

-------------------------------------------------------------------------------
wp-lighttpd-rewrite
-------------------------------------------------------------------------------
Rewrite rules for a Wordpress 2.x installation on top of a lighttpd web server.

This LUA script comes in very handy if your using the following plugins in
your Wordpress installation:
  * wp-super-cache (http://ocaoimh.ie/wp-super-cache/)
  * WP-touch (http://bravenewcode.com/wptouch)
  
Usually, the mobile devices get the cached version of your Wordpress site served
instead of the WP-touch UI version. This script allows you to serve uncached 
files to mobile devices, search engine bots, etc. while serving cached (and 
possibly even compressed) content to "regular" viewers of your blog.

This LUA script is based on the great work of Giovanni Intini:
http://tempe.st/2008/05/lightning-speed-wordpress-with-lighttpd-and-supercache-part-ii/

-------------------------------------------------------------------------------
Copyright 2008,2009 by Giovanni Intini, Jean Pierre Wenzel <jpwenzel@gmx.net>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
-------------------------------------------------------------------------------