问题
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