hmm, ok … another minor bug. if you used mod_rewrite before mod_magnet you would need another line in the cleanurl.lua.

--- cleanurl.lua 2006-10-08 09:05:19.000000000 +0200
+++ cleanurl.lua        2006-10-09 08:52:32.000000000 +0200
@@ -17,6 +17,7 @@
         -- file still missing. pass it to the fastcgi backend
         lighty.env["uri.path"] = "/dispatch.fcgi" 
         lighty.env["physical.rel-path"] = lighty.env["uri.path"]
+        lighty.env["request.orig-uri"]  = lighty.env["request.uri"]
         lighty.env["physical.path"] = lighty.env["physical.doc-root"] .. lighty.env["physical.rel-path"]
     end
 end

The fixed version is now cleanurl-v5.lua.