OS Property support center

Cannot save the youtube embed code

  • Mr. Dam
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
11 years 8 months ago #17595 by Mr. Dam
Cannot save the youtube embed code was created by Mr. Dam
HI everybody,
I received several report from customers about the saving youtube embed code. They said whenever they enter the youtube embed code in the property modification page. And click save or apply button in the toolbar. The system return the Forbidden (403) page. After some investigation, i found it isn't the issue of OS Property. The cause of the problem come from mod_securuty of .htaccess file.
If you have the same problem, you have 2 ways to solve it.
1. Edit .htaccess file
### ASKAPACHE MOD_SECURITY ###
<IfModule mod_security.c>
# Turn the filtering engine On or Off or DynamicOnly for cgi/php/etc
SecFilterEngine On

# Only log suspicious requests
SecAuditEngine RelevantOnly

# Goes up to 9 but at 2 its overwhelming trust me
SecFilterDebugLevel 0

# Make sure that URL encoding is valid
SecFilterCheckURLEncoding On

# Unicode encoding check
SecFilterCheckUnicodeEncoding Off

# Should mod_security inspect POST payloads
SecFilterScanPOST On

# The default rule to apply to inherited rules
SecFilterDefaultAction "deny,log,status:500"

Change On to Off in the value of the parameters

2. Contact with your hosting and ask them how to disable these mod_security rules so that you can properly use the component.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #17609 by sti
Replied by sti on topic Re: Cannot save the youtube embed code
hi.

how about just integrate a plugins ?
when it work in joomla article it should work on components.

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan