Author Topic: Problem with embed codes  (Read 13207 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Problem with embed codes
« on: May 14, 2016, 04:47:06 PM »
For wordpress.
I cannot publish post with embed code to content... :-\ :-\
plz help!

Offline
*
Re: Problem with embed codes
« Reply #1 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.




Offline
*
Re: Problem with embed codes
« Reply #2 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/
THAKUR