First question :
i updated cpanel to the latest release and i rebuilt apache using EasyApache BUT when i run :
httpd -v
it shows :
Server version: Apache/2.2.3
Server built: Jan 31 2011 17:49:25
i believe it should be Apache/2.2.21 so why it's showing 2.2.3 ?!
Second question :
when i run the command :
httpd -t
it returns :
httpd: Syntax error on line 40 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /usr/local/apache/conf/modsec2.conf: Cannot load /etc/httpd/modules/mod_security2.so into server: /etc/httpd/modules/mod_security2.so: undefined symbol: ap_get_server_banner
WHILE
- line 40 of /etc/httpd/conf/httpd.conf:
Include "/usr/local/apache/conf/modsec2.conf"
-line 3 of /usr/local/apache/conf/modsec2.conf:
LoadModule security2_module modules/mod_security2.so
i typed cat /etc/httpd/modules/mod_security2.so
it returns something like that :
^?ELF^A^A^A^@^@^@^@^@^@^@^@^@^C^@^C^@^A^@^@^@`G^@^@4^@^@^@Ð%^E^@^@^@^@^@4^@ ^@^E^@(^@^\^@^Y^@^A^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Ì^O^E^@^Ì^O^E^@^E^@^@^@^@^P^@^@^A^@^@^@^@^P^E^@^@^P^E^@^@^P^E^@$
^@^@^@^@^@^@^L^C^@^@^R^@^@^@^Ù^D^@^@^@^@^@^@+^@^@^@^R^@^@^@^À^B^@^@^@^@^@^@`^@^@^@^R^@^@^@L^E^@^@^@^@^@^@z^@^@^@^R^@^@^@^?^A^@^@^@^@^@^@^@^@^@^@^P^@^@^@<^B^@^@^@^@^@^@6^@^@^@^R^@^@^@Å^E^@^@$
^@^@^@^@^@^@V^@^@^@^R^@^@^@^Ú^@^@^@^@^@^@^@^@^@^@^@^P^@^@^@^Æ^B^@^@^@^@^@^@&^B^@^@^R^@^@^@^Ò^A^@^@^@^@^@^@^@
Note: i installed mode security with EasyApache and i rebuilt it again and same problems appears
Any help is appreciated
Thanks.
i updated cpanel to the latest release and i rebuilt apache using EasyApache BUT when i run :
httpd -v
it shows :
Server version: Apache/2.2.3
Server built: Jan 31 2011 17:49:25
i believe it should be Apache/2.2.21 so why it's showing 2.2.3 ?!
Second question :
when i run the command :
httpd -t
it returns :
httpd: Syntax error on line 40 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /usr/local/apache/conf/modsec2.conf: Cannot load /etc/httpd/modules/mod_security2.so into server: /etc/httpd/modules/mod_security2.so: undefined symbol: ap_get_server_banner
WHILE
- line 40 of /etc/httpd/conf/httpd.conf:
Include "/usr/local/apache/conf/modsec2.conf"
-line 3 of /usr/local/apache/conf/modsec2.conf:
LoadModule security2_module modules/mod_security2.so
i typed cat /etc/httpd/modules/mod_security2.so
it returns something like that :
^?ELF^A^A^A^@^@^@^@^@^@^@^@^@^C^@^C^@^A^@^@^@`G^@^@4^@^@^@Ð%^E^@^@^@^@^@4^@ ^@^E^@(^@^\^@^Y^@^A^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Ì^O^E^@^Ì^O^E^@^E^@^@^@^@^P^@^@^A^@^@^@^@^P^E^@^@^P^E^@^@^P^E^@$
^@^@^@^@^@^@^L^C^@^@^R^@^@^@^Ù^D^@^@^@^@^@^@+^@^@^@^R^@^@^@^À^B^@^@^@^@^@^@`^@^@^@^R^@^@^@L^E^@^@^@^@^@^@z^@^@^@^R^@^@^@^?^A^@^@^@^@^@^@^@^@^@^@^P^@^@^@<^B^@^@^@^@^@^@6^@^@^@^R^@^@^@Å^E^@^@$
^@^@^@^@^@^@V^@^@^@^R^@^@^@^Ú^@^@^@^@^@^@^@^@^@^@^@^P^@^@^@^Æ^B^@^@^@^@^@^@&^B^@^@^R^@^@^@^Ò^A^@^@^@^@^@^@^@
Note: i installed mode security with EasyApache and i rebuilt it again and same problems appears
Any help is appreciated
Thanks.