OpenCart Version: 184.108.40.206
PHP Version: PHP 7.1
I've checked all folders and files permissions, they are set as following info:
Files > Permissions = 6 4 4
Folders > Permissions = 7 5 5
I also checked permissions in the admin control panel, in the section
Admin > System > Users > User Groups > Administrator > Access Permission / Modify Permission all are ticked and set correctly.
What is the problem?
When Insert html code in the Product Description > summer note section, it can be saved without problem, but when I use these following codes in the html then it cannot be saved and the page will be redirected to the 403 Forbidden.
- If I use Inline Style
- If I use <script></script>
- If I use <style></style>
- If I use <img src="">
- If I use <!-- -->
- If I use link href
Somewhere I found something related to mod_security, it should be turn off, I also have tried, no success.
I also renamed admin folder, but and configure it the config.php but no success.
I also checked htaccess, it looks good and RewriteBase / is set correctly.
I also tried to remove summernote and use textarea simply, but no success, it means the issue is not even related to summernote.
The strange part, when I downloaded the website and install it in xampp local host, then it works without any problem. It means the issue is related to server it seems but where is conflict part, I don't know.
Please advice me that how to solve it?