Title: teste
Hi Mascarenhas,
I'm not using Apache. I'm only running "wsapi" in the folder I have the orbit and .lp files.
Where can I configure wsapi to run the .lp files?


Em 17/8/2010 13:15, Fabio Mascarenhas escreveu:
Hi,

Did you give execute permission to your .lp files, register them as
CGI files in Apache's configuration (with the "AddHandler cgi-script
.lp" directive), and gave ExecCGI permission to the directory where
they are (directive "Options +ExecCGI" in Apache)?

--
Fabio Mascarenhas


2010/8/11 Itamar Eduardo Gonçalves de Oliveira <itamaredua...@novanis.com.br>:
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/

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



--

Itamar Eduardo Gonçalves de Oliveira
Informática
+55 (66) 2101 0614
Novanis -
              Tecnologia em Produção Animal

_______________________________________________
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