Hi Jim, >> >> I seem to have 2: >> >> /Users/thijskoerselman/.luarocks/rocks/wsapi/1.1-2/lua/wsapi/common.lua >> /Users/thijskoerselman/.luarocks/rocks/wsapi/1.3.4-1/lua/wsapi/common.lua > > These are both under your home directory, something the Apache user > isn't going to have access to. At the very least, Luarocks won't know > to look in the 'user' repository, since its running under a different > user. You need to install the rocks in a place where the web server > user will have access to them.
In my httpd.conf file I've set the Apache user to myself. So that should be enough to give Apache access to those files no? I've started to install the wsapi module as root user, since that's what you are suggesting right? I'm still trying out things, without luck so far, but I noticed a difference in the wsapi.cgi scripts. The root user script contains this exec: exec "/opt/local/bin/lua" -lluarocks.loader "/opt/local/var/luarocks/lib/luarocks/rocks/wsapi/1.3.4-1/bin/wsapi.cgi" "$@" My user script contains this exec: exec "/usr/local/bin/lua" -lluarocks.require "/Users/thijskoerselman/.luarocks//rocks/wsapi/1.3.4-1/bin/wsapi.cgi" "$@" That seems weird since both use the same version. Hope its a clue, meanwhile I'm continuing my quest. Thijs _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/