Actions
Feature #787
closedmod_cml + "HOST" header support!
Status:
Fixed
Priority:
Normal
Category:
mod_cml
Target version:
-
ASK QUESTIONS IN Forums:
No
Description
lighttpd developers hello, again...
I use lighttpd-1.4.11 in production with mod_cml.
this code simply adds the "HOST" header to the "reqeust" table.
making "HOST" header accessible from lua scripts.
Lua Programming:
host = request !["HOST"]
tags/lighttpd-1.4.11/src/mod_cml_lua.c:273¶
c_to_lua_push(L, header_tbl, CONST_STR_LEN("HOST"), CONST_BUF_LEN(con->request.http_host));
thanks,
-- amix.
-- duke.amix
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to wontfix
mod_cml is deprecated.
Updated by gstrauss about 1 year ago
- Description updated (diff)
- Status changed from Wontfix to Fixed
- ASK QUESTIONS IN Forums set to No
mod_cml is no longer part of the lighttpd base
For replacement, see lua mod_cml
For much more powerful features, review all the features of mod_magnet
lighty.r.req_header["host"]
lighty.r.req_attr["uri.authority"]
Actions
Also available in: Atom