> Ignacio Burgue?o<ignaciob at inconcertcc.com>  wrote:
> It seems you have an .lp that redirects to a .lua
> Why don't you access the .lua script directly? That way you can control 
> exactly what is emitted by cgilua

I actually had an .lp that accessed a lua library that emitted the binary data.
The problem was there's no way in cgilua to suppress headers that it's adding 
(I guess no one tested the case where you download a binary file to a web 
browser?)-:

Yes, what I did eventually was redirect from the .lp to the cgi-bin lua script 
(after using the web browser to store the hostname because the SERVER_NAME 
variable
that was always 127.0.0.1 which broke cgilua.redirect since it kept redirecting 
the
web browser to that IP).

 ken


      


_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to