Author Topic: ModSecurity ( SecStatusEngine On) + apache = apache stop + unknown symbol  (Read 7769 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
hi
i hope you doing well.

info: 2 servers
CWP version: 0.9.8.846
pro active: No


problem:-
when i tern this SecStatusEngine On with mod security, apache stop working, give me this error:
Code: [Select]
httpd: Syntax error on line 513 of /usr/local/apache/conf/httpd.conf: Syntax error on line 10 of /usr/local/apache/conf.d/mod_security.conf:and when i check the mod security, main configuration to delete the SecStatusEngine On i found this
Code: [Select]
LoadFile /usr/lib64/libxml2.so
            LoadFile /usr/lib64/liblua-5.1.so
           
            <IfModule !unique_id_module>
              LoadModule unique_id_module modules/mod_unique_id.so
            </IfModule>
           
            <IfModule !mod_security2.c>
              LoadModule security2_module  modules/mod_security2.so
            </IfModule��Y�[�[H[���X�\�]L��ς�Y�[�[H[�ܝZY ��ς��X�]Y]���ܘY�Q\� �\܋���[ �\X�K�����[��X��]Y]��X�]Y]��\H�ۘ�\��[�� �Y�[�[O��Y�[�[H]˘ς��X�]Y]���ܘY�Q\� �\܋���[ �\X�K�����[��X��]Y]��X�]Y]��\H�ۘ�\��[�� �Y�[�[O����X��\��\��Yۘ]\�H��[����X�[�[���X�Y�H[��X�\�]H���X��]\�[��[�Hۈ��Xԝ[Q[��[�Hۂ��X�]Y][��[�H�[]�[�ۛB��X�]Y]�� �\܋���[ �\X�K�����[��X��]Y] ��ˆ�X�X�Y��� �\܋���[ �\X�K�����[��X��X�Y˛�ˆ�X�]Y]��\H�\�X[��X�X�Y���]�[ ��Xԙ\]Y\���PX��\��ۂ��X�]Q\� �\��X�\\� �\��X�\�Y\� �\��X���X�[ە[Y[�]
� ��X�ܙSX]�[Z] L�L ��X�ܙSX]�[Z]�X�\��[ۈ L�L �[��YH��\܋���[ �\X�K�[��X�\�]K[��\� [� ���\� ��ۙ��� �Y�[�[

ii change the apache at line 513, this code is on line 511,512,513
Code: [Select]
ExtendedStatus On
Include /usr/local/apache/conf/sharedip.conf
Include /usr/local/apache/conf.d/*.conf

apache worked fine but all sites are the default cwp page, and not working ,....

is this bugs ? what should i do?

Regards

Offline
*
rebuild webservers and reinstall mod security
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
i got success when i edit the file through SSH, not the cwp ....

thank you very much for help

Regards