Ticket #852 (closed defect: wontfix)
when url_rewrite is used with mod_cml_lua rewritten URL query string is not accessible from LUA
| Reported by: | lord@… | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | mod_cml | Version: | 1.4.11 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Need User Feedback: | Blocking: |
Description
LUA REQUEST_URI variable contains now URI of orinial URL, before URL rewrting. So if URL rewriting is used, and query string is formed duing rewrting there is no way to access it from LUA. For example, this would not work:
url.rewrite = ("/user/([A-Za-z0-9\_]+)$" => "/test.cml?user=$1")
since in LUA, you will not be able to access 'user' parameter.
More details in forum discussion:
http://forum.lighttpd.net/topic/1745
Attached is a patch which makes both oritinal and rewritten URIs avaliable to LUA.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

