Thanks for that.
Unfortunately that seems to not have been the problem.
I added these lines to the httpd.conf:
LoadModule fcgid_module modules/mod_fcgid.so
# Manually pass needed non-standard system environment variables.
PassEnv LUA_DEV
<IfModule fcgid_module>
AddHandler fcgid-script .lua
FcgidWrapper "D:\Lua\5.1\wsapi.fcgi.exe" .lua
</IfModule>
My test.lua is a simple script from the cgilua page:
cgilua.htmlheader()
cgilua.put([[
<html>
<head>
<title>Hello World</title>
</head>
<body>
<strong>Hello World!</strong>
</body>
</html>]])
The error.log tells me:
[Tue Jul 26 16:46:50 2011] [warn] [client 127.0.0.1] mod_fcgid: read
timeout from pipe
[Tue Jul 26 16:46:50 2011] [error] [client 127.0.0.1] Premature end of
script headers: test.lua
I don't know how to fix this. Does maybe anyone of you have a clue
what's wrong with it?
It works when I use CGI and the cgilua.cgi.exe, but not with fcgi.
As I wrote earlier I'm using Apache httpd 2.2.19 with fcgi 2.6.3 and the
last versions of cgilua and wsapi on Win32 XP SP3.
Regards,
Firzen
Am 26.07.2011 15:56, schrieb Fabio Mascarenhas:
I have uploaded binary rocks for wsapi, wsapi-fcgi and wsapi-xavante
to the repository, please try to install again.
--
Fabio Mascarenhas
On Tue, Jul 26, 2011 at 8:18 AM, Maximilian Lasser<fir...@online.de> wrote:
Hi,
I'm trying to set up cgilua with Apache httpd 2.2.19 and fcgid 2.3.6 on
Win32 XP SP3.
It doesn't work and I think the reason for this is that the WSAPI fcgi
wrappers are not installed correctly.
I tried executing luarocks install waspi again and came to the following
command which failed:
rc -r -fosrc\launcher\wsapi.cgi.res src\launcher\wsapi.cgi.rc
The problem is that I do not have rc installed - I found out it seems to be
the Microsoft Resource Compiler, but I didn't find any download possibility.
The installation then aborted with:
Error: Build error: Build error in wrapper binaries
What can I do? Are there already compiled binaries I can download somewhere
or can I somehow get or workaround the rc?
I'd appreciate any help. Thanks.
Regards,
Firzen
_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/
_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/
_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/