Project

General

Profile

Actions

Feature #787

closed

mod_cml + "HOST" header support!

Added by Anonymous over 18 years ago. Updated over 1 year ago.

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

#1

Updated by stbuehler over 16 years ago

  • Status changed from New to Fixed
  • Resolution set to wontfix
#2

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Wontfix
#3

Updated by gstrauss over 1 year ago

  • Description updated (diff)
  • Status changed from Wontfix to Fixed
  • ASK QUESTIONS IN Forums set to No
Actions

Also available in: Atom