Lua – Simple method to use Memcache

Published on Author gryzli

If you need fast and lightweight method of connecting with Memcache daemon, you can do it by just using the ‘socket’ module and open a TCP connection to the Memcache daemon.  After you have your connection done to Memcache, you could issue all kind of commands for getting/storing information.    Code #!/usr/bin/lua require ‘socket’ function… Continue reading Lua – Simple method to use Memcache

Lua – The beginning in lua programming

Published on Author gryzli

Lua is fast, light-weight and powerfull scripting language. If we trust the creators website, Lua must be the fastest interpreted programming language, which is a big reason to love it.   Lua Programming – The basis The is no “line ending delimiters” in lua ,but if you like, you can use “;” as delimiter. The line… Continue reading Lua – The beginning in lua programming

ModSecurity – Using Lua scripts with ModSecurity

Published on Author gryzli

If you decide to use ModSecurity ‘s support of  Lua, here you can find some usefull tips to consider. Short story … At the time of writing this article, the current ModSecurity version is 2.9.0, which provides plenty of functionalities. However if you want to go deep into web application filtering or maybe you need to… Continue reading ModSecurity – Using Lua scripts with ModSecurity