[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [CGILua 5.0b2] Possible bug and change request
- From: Alex Sandro Queiroz e Silva <ventonegro@...>
- Date: Mon, 10 Jan 2005 10:49:07 -0300
script_path is initialized with false so the absolute path
of the script is obtained from PATH_TRANSLATED variable. Variable
script_path could be redefined by the configuration file (cgilua/config.lua)
therefore CGILua could alter the server translation scheme.
script_vpath is the virtual path (not the absolute path).
I think the documentation of CGILua is lagging behind, then.
If I understand correctly, the problem is not with preprocess
function but with the htmlheader function that does not check if the
Content-type header was already sent, right?
The preprocess() function always calls htmlheader() before
includehtml(). At this point no header was sent (because the page was
never processed) and the htnlheader() function would always send the