hello again.

so i fugured out some things i asked before, but im far from having
xavante/lua running properly ...

i used the localhost.lua example configuration coming with xavante:

local simplerules = {

     { -- URI remapping example
      match = "^[^%./]*/$",
      with = xavante.redirecthandler,
      params = {"index.lp"}
     },


     { -- This is a cgilua handler example
       -- remember to require 'xavante.cgiluahandler'
       --
       match = {"%.lp$", "%.lp/.*$", "%.lua$", "%.lua/.*$" },
       with = xavante.cgiluahandler.makeHandler(webDir)
     },


    { -- filehandler example
      match = ".",
      with = xavante.filehandler,
      params = {baseDir = webDir}
    },

}

however this causes two problems:

1) html pages are served correctly, however, whatever .lp or .lua
file im trying to access, i ALWAYS got index.lua or (if
index.lua doesnt exist) index.lp back. i assume thats some
PATH_TRANSLATED problem but i can't figure out the real reason.

2) if i try to access a subdirectory such as
http://localhost:8080/mydirectory/

i got the error:

"The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for
this address in a way that will never complete."

startx

------

On Sun, 22 Nov 2009 16:40:32 +0000
startx <sta...@plentyfact.org> wrote:


> so im happy to receive any hint where to go from here, and again,
> excuse my ignorance, but to be fair i couldnt find any manual on the
> web which explains the setup from the start.
> 



_______________________________________________
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