var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
httpd wont restart [ rules problem ]
I have a small proble, i just added a new modsecurity rules in my csf firewall, after that am trying from the shell to restart my httpd server and it's give me this error,
i search for any rules to uncomment it but didn't find it...
[email protected] [/etc/httpd/conf]# /etc/init.d/httpd restart
Syntax error on line 112 of /usr/local/apache/conf/modsec2.user.conf:
ModSecurity: Metadata actions (id, rev, msg, tag, severity, logdata) can only be specified by chain starter rules.
httpd not running, trying to start
[email protected] [/etc/httpd/conf]#
could anyone help me with this ?
What is line 112 in /usr/local/apache/conf/modsec2.user.conf ?
Daniel | Server Complete, LLC █
Windows VPS // Dedicated Servers // Backup Services
Wholly owned hardware and self operated network (
) in Jacksonville, FL
fixed, i just uncomment out the 112 line and restart it back.
i got an error with modsecurity at this line, so i comment it "#" and after that i try to restart the httpd,The error was
could you please let me know how to make this off ? i try to comment it "#" but the httpd wont start ..
[email protected] [/etc/httpd/conf]# tail -f /etc/httpd/logs/modsec_audit.log
Message: Access denied with code 406 (phase 2). Pattern match "(ht|f)tps?:/" at ARGS:linkurl. [file "/usr/local/apache/conf/modsec2.user.conf"] [line "109"] [id "300018"] [rev "3"] [msg "Generic PHP code injection protection via ARGS"] [severity "CRITICAL"]
Apache-Error: [file "core.c"] [line 3648] [level 3] File does not exist: /home/www/public_html/406.shtml, referer: http://www.com/links/
Action: Intercepted (phase 2)
Stopwatch: 1250042963044845 1717 (758 1306 -)
Producer: ModSecurity for Apache/2.5.9 (http://www.modsecurity.org/).
Server: Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 mod_perl/2.0.4 Perl/v5.8.8
By aldo in forum Hosting Security and Technology
Last Post: 01-25-2008, 07:32 PM
By robocap in forum Hosting Security and Technology
Last Post: 09-12-2007, 01:42 AM
By nabeelamjad in forum Hosting Security and Technology
Last Post: 01-29-2007, 08:43 AM
By Chris2k in forum Hosting Security and Technology
Last Post: 03-07-2005, 01:23 AM
By Apocalypse in forum Hosting Security and Technology
Last Post: 07-16-2004, 01:58 PM