Page 1 of 1

lua in the new webserver?

Posted: 31 Aug 2021, 21:52
by jaimosky
Hi,

it is me again ;-)

With the old W3 Server there was the possibility to Server script with lua (the folder /agi/lua5), but I cannot see it anymore.
Does anybody know if the lua support was removed with the new webserver?
If not, is any other way to server script?

Thank.
Jaime

Re: lua in the new webserver?

Posted: 05 Oct 2021, 17:08
by tim mcentee
LUA was not fully safe so it was replace with integrator/java in the new webserver.

I don't know of any way to run server scripts easily.

If you look at the httpd.xml file there are a bunch of url mappings for existing lua features that are now run as java. This would be advanced stuff but you could write your own java service, like you can in integrator, make the class known via the the integrator properties files and add a url mapping to the class in the httpd.xml config. This is a thought bubble, so there is no guarantee that this would work.