Control Web Panel

Security => Mod_Security => Topic started by: rontakias on May 14, 2016, 04:47:06 PM

Title: Problem with embed codes
Post by: rontakias on May 14, 2016, 04:47:06 PM
For wordpress.
I cannot publish post with embed code to content... :-\ :-\
plz help!
Title: Re: Problem with embed codes
Post by: devnull on May 14, 2016, 06:30:57 PM


Open a SSH session to your server and the file /usr/local/apache/logs/error_log
if it is blocked by Mod Security

For example with tail -1000 /usr/local/apache/logs/error_log | grep ModSecurity

If it is blocked you will see a rule id which you can whitelist


Or you can login to the Panel > Goto Security > Mod Security . You will see the last 20 lines of the log.
Copy the matching rule id

and add it in  Disabled Rules --> /usr/local/apache/conf/mod_sec_disabled_rules.conf  (you can just click the link in the mod security section)
Add the rule id in the file SecRuleRemoveById  [the rule id you found] and click save changes.



Title: Re: Problem with embed codes
Post by: iqbalthakur on October 11, 2016, 06:09:39 PM
For wordpress.
I cannot publish post with embed code to content... :-\ :-\
plz help!

read more about mod security http://forum.centos-webpanel.com/mod_security/mod_security-config/