mod_magnet can attract a request in several stages in the request-handling. either at the same level as mod_rewrite, before any parsing of the URL is done or at a later stage, when the doc-root is known and the physical-path is already setup . Homepage: http://www.lighttpd.net