Project

General

Profile

URL Rewritting Before LUA Script Execution

Added by spflanze almost 13 years ago

What determines the order of execution in lighttpd.conf? In this file I am using both url.rewrite-if-not-file and magnet.attract-physical-path-to. My need is for url.rewrite-if-not-file to execute first and have the Lua script invoked in magnet.attract-physical-path-to act on the result. This does not appear to be happening even though url.rewrite-if-not-file is before magnet.attract-physical-path-to in lighttpd.conf.

Is it possible for a Lua script to act on the result of the url rewrites done in url.rewrite-if-not-file?