Hi William,
I have set the LoadFile before mod_security2.so as you suggested, but didn't work as well.

Maybe is something wrong on my Rule definition?

Regards,
Sergio




On Wed, Jan 27, 2010 at 12:37 PM, William Salusky <wsalusky@gmail.com> wrote:
Sergio,

Based on the path to your specific lua library, do you have the following defined in your Apache httpd.conf?

LoadFile /opt/lua/lib/liblua-5.1.3.so
 
I would place this just before your LoadModule statement for mod_security2.so

W

On Wed, Jan 27, 2010 at 12:36 PM, Sergio <secmas@gmail.com> wrote:
I really want to thank you both of you for your time on this, hope your patience will be infinite, lol.

Ok, I have done the following:

# nm /usr/local/apache/modules/mod_security2.so | grep -i lua
         U luaL_checklstring
         U luaL_checknumber
         U luaL_loadfile
         U luaL_newstate
         U luaL_openlibs
         U luaL_register
         U lua_close
00009380 t lua_compile
         U lua_createtable
         U lua_dump
000090d0 t lua_execute
         U lua_getfield
         U lua_isstring
         U lua_isuserdata
         U lua_load
         U lua_objlen
         U lua_pcall
         U lua_pushlightuserdata
         U lua_pushlstring
         U lua_pushnil
         U lua_pushnumber
         U lua_pushstring
         U lua_rawgeti
         U lua_setfield
         U lua_settable
         U lua_settop
         U lua_tolstring
         U lua_topointer
         U lua_type
         U lua_typename
0002a170 t msre_rule_lua_create

And, also this:

# ldd /usr/local/apache/modules/mod_security2.so | egrep lua
        liblua-5.1.3.so => /opt/lua/lib/liblua-5.1.3.so (0x00d13000)

Do I need to install something else for this to run?

Best Regards,
Sergio

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
mod-security-users mailing list
mod-security-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Appliances, Rule Sets and Support:
http://www.modsecurity.org/breach/index.html