LoadFile /opt/lua/lib/liblua.so

What template should i edit on Comodo WAF, to remove the # from LoadFile /opt/lua/lib/liblua.so that writes on the modsec2.conf file?

I do it manually on apache directory, but when comodo do the update check daily, or i save some other data from main config, the # comes back and i loose that line, and i need it for my antivirus upload script.

Can you explain me COMODO, where do i’ve to edit? Thank you


Here it is:


line: 196

  head = (
  'LoadFile /opt/xml2/lib/libxml2.so',
  '# LoadFile /opt/lua/lib/liblua.so',

Remove ‘#’ from /liblua.so

You’ll need to remove “#” after CWAF-client updates.

A big Thank you Team.

Just a sugestion, you could have an option on the plugin to activate Lua.