[This was also reported here
http://luaforge.net/tracker/index.php?func=detail&aid=47604&group_id=104&atid=508]

Environment: kepler 1.1.1, Snow Leopard

I've configured my default Apache installation to use the fastcgi
adapter. However, all my attempts to activate (through a browser) a
lua scriptfailed. I debugged the problem and noticed that
wsapi/common.lua ''not_compatible'' function is wrongfully assuming it
should adjust wsapi_env.DOCUMENT_ROOT  and it messes up everything. A
simple solution was change the following line (common.lua:230)

  if filename:gsub("\\","/"):find(script_name, 1, true) then
to
  if filename and filename:gsub("\\","/"):find(script_name, 1, true) then

but I'm not sure this is the right solution. I suspect the problem
begins with cgilua.fcgi that calls
  common.normalize_paths(wsapi_env, nil, "cgilua.fcgi")
with a nil value as the second parameter.

Cheers,
Shmul

_______________________________________________
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