https://bugzilla.novell.com/show_bug.cgi?id=462625 Summary: Invalid command 'SecRuleEngine' Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: gerberb@zenez.com QAContact: jsrain@novell.com Found By: Community User Apache2 fails to start because of # /etc/init.d/apache2 start Module "ruby" is not installed, ignoring. Check the APACHE_MODULES setting in /etc/sysconfig/apache2. Starting httpd2 (prefork) Syntax error on line 3 of /etc/apache2/conf.d/mod_security2.conf: Invalid command 'SecRuleEngine', perhaps misspelled or defined by a module not included in the server configuration The command line was: /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL Adding module unique_id_module does not resolve the issue like with 11.0. Online suggest reeding http://www.wains.be/index.php/2006/11/22/invalid-command-secruleengine-perha... There is not libxml2 for apache2 to as the steps below suggest. ModSecurity installation consists of the following steps: 1. ModSecurity 2.x works with Apache 2.0.x or better. 2. Make sure you have mod_unique_id installed. 3. (Optional) Install the latest version of libxml2, if it isn’t already installed on the server. 4. Unpack the ModSecurity archive 5. Edit Makefile to configure the path to Apache (for example: top_dir = /usr/local/apache2). 6. (Optional) Edit Makefile to enable ModSecurity to use libxml2 (uncomment line DEFS = -DWITH_LIBXML2) and configure the include path (for example: INCLUDES=-I/usr/include/libxml2) 7. Compile with make 8. Stop Apache 9. Install with make install 10. (Optional) Add one line to your configuration to load libxml2: LoadFile /usr/lib/libxml2.so 11. Add one line to your configuration to load ModSecurity: LoadModule security2_module modules/mod_security2.so 12. Configure ModSecurity 13. Start Apache 14. You now have ModSecurity 2.x up and running. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.