Hello, I'm having some problems trying to run luapages (.lp) with my
new Wsapi instalation.
I had the code working in Windows, under a xavante server. Then I've
install luarocks in my gentoo server and luapages don't work, I have
some orbit pages too, they are working good.
I have theses rocks at my gentto server:
cgilua cosmo lpeg luasocket manifest rings
wsapi-xavante
copas coxpcall luafilesystem luasql-sqlite3 orbit wsapi xavante
I'm runing Wsapi 1.3.4-1.
I know i'm missing something, but I can't figure out what is... ...and I
think there's something about how to call cgilua.cgi because when I try
to run the index.lp of the exemple folder, I got plain text, but if I
remove the first line of the file "#!/usr/bin/env cgilua.cgi", the page
loads, but shows the lua code, like: "If you are reading this page, *<%=
cgilua.servervariable("SERVER_SOFTWARE") %>* has been successfully
configured".
In my pages I use <?lua ?> instead of <% %>, the both forms are ok?
I've found cgilua.cgi at /usr/local/bin/cgilua.cgi, I've changed
"#!/usr/bin/env cgilua.cgi" to "#!/usr/local/bin/env cgilua.cgi",
"#!/usr/local/bin/ cgilua.cgi", "#!/usr/local/bin/cgilua.cgi", and don't
work...
--
Itamar Eduardo Gonçalves de Oliveira
_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/