This error was generated by Mod_Security

空扰寡人 提交于 2019-12-10 15:47:11

问题


Hi guys I am running mp3 songs download website when I try to download song I get this error.

Not Acceptable!

An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

My website is http://www.playlist.pk/ you can see to try by download any song. kindly inform me how I can solve this error?


回答1:


I had bought my domain 3 months ago. Even I used to get same error. I tried to search in google and found .htaccess code that helped me. I copied the below text and paste it in the .htaccess file at the root of my domain.

I suggest you to do the same. May it help you.

<IfModule mod_security.c>
    # Turn off mod_security filtering.  SMF is a big boy, it does not need its hands held.
    SecFilterEngine Off

    # The below probably isn't needed, but better safe than sorry.
    SecFilterScanPOST Off
</IfModule>


来源:https://stackoverflow.com/questions/19768681/this-error-was-generated-by-mod-security

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!