if you want to remove an article from website contact us from top.

    an appropriate representation of the requested resource could not be found on this server. this error was generated by mod_security.

    Mohammed

    Guys, does anyone know the answer?

    get an appropriate representation of the requested resource could not be found on this server. this error was generated by mod_security. from screen.

    php

    I'm new to moodle environment and I'm having this error: Not Acceptable! An appropriate representation of the requested resource could not be found on this server. This error was generate...

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

    Ask Question

    Asked 7 years, 10 months ago

    Modified 4 months ago

    Viewed 114k times 20

    I'm new to moodle environment and I'm having 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.

    I haven't done anything, I'm just viewing the registered users in my website:

    http://www.joyfementira.com/dnsc/it14lms

    I've noticed that my profile picture is not properly loaded so I clicked on it (picture's position), and after that the error came out.

    What probably caused this error and how would I fix it?

    phpsql-serverresourcesmoodle

    Share

    Improve this question

    edited Apr 11, 2019 at 22:42

    Pika Supports Ukraine

    3,5029 9 gold badges 25 25 silver badges 42 42 bronze badges

    asked Jan 22, 2015 at 14:05

    Mark Jhon Oxillo 3391 1 gold badge 3 3 silver badges 11 11 bronze badges 1

    Mine situation was kind of weird, one of my folders was named 'administrator', until changed it (after trying all the methods above) then my server allowed my files contained in it to pass the 406 error –

    Fikayo Adepoju

    Dec 16, 2016 at 12:00

    @FikayoAdepoju I have wasted 4 hours trying to find the cause of the error and at the end your folder name solution worked. –

    Syed

    Jan 28, 2021 at 19:44

    Add a comment

    15 Answers

    10

    I was experiencing same issue with my WP site shared-hosted in HostMonster. I resolved simply by accessing to the server via SSH and added the following lines on the .htaccess file :

    SecFilterEngine Off

    SecFilterScanPOST Off

    Share Improve this answer

    answered Oct 30, 2019 at 23:27

    cryptolucio 1011 1 silver badge 4 4 bronze badges 1

    This worked for me. I added the above lines in .htaccess –

    WhiteHorse

    Nov 21, 2020 at 6:32

    Add a comment 9

    Just to add to the answers. If this happens while you are trying to login to a WordPress website admin and you are using any type of VPN on your machine, you'd have to turn it off to solve the problem.

    If you turn off your VPN, you'd be able to login without experiencing the issue.

    Share Improve this answer

    edited Feb 12, 2021 at 22:28

    answered Jun 1, 2020 at 9:08

    Sleek Geek 4,5083 3 gold badges 26 26 silver badges 39 39 bronze badges Add a comment 5

    Apache has a mod_security tool that tries to block SQL injections by url. This rule is also blocking some real urls. The solution is:

    access WHM in your dedicated server

    search for mod_security tools

    check if it's blocking some urls

    click in the rule id

    click in deploy and Restart Apache

    if you don't have access to WHM in your server. Pass this issue to your server administrator.

    This is the rule that was blocking my urls

    SecRule REQUEST_HEADERS|XML:/*|!REQUEST_HEADERS:Referer "\b(\d+) ?= ?\1\b|\'\"[\'\"] ?= ?[\'\"]\2\b" \ "phase:2,capture,t:none,t:urlDecodeUni,t:htmlEntityDecode,t:replaceComments,t:compressWhiteSpace,t:lowercase,ctl:auditLogParts=+E,log,auditlog,msg:'SQL Injection Attack',id:'959901',tag:'WEB_ATTACK/SQL_INJECTION',logdata:'%{TX.0}',severity:'2'"

    Share Improve this answer

    answered Sep 14, 2017 at 18:46

    Marcelo 511 1 silver badge 1 1 bronze badge

    Is it due to htaccess ? –

    ersks

    Mar 29, 2018 at 7:22

    Add a comment 4

    This error will appear in some sites if cookies are turned off and mod_security requires cookies to match session data. It is suppossed to make things more secure... it ends up just annoying. Especially because web indexing crawlers like googleBot and other search engines do not use cookies, so THEY see this error instead of your site.

    Share Improve this answer

    answered Mar 25, 2016 at 20:29

    Eric Sebasta 2251 1 silver badge 7 7 bronze badges 16

    Do what is the solution then? –

    Dushyant Joshi

    Nov 27, 2016 at 13:30

    I used FF's do not track feature. Switching to Chrome (without this feature activated) allowed me to authorize the Gmap Oauth app from withing Wordpress. Hope that helps. –

    n3rd

    Oct 4, 2018 at 16:45

    have cookies turned on, or modify your mod_security settings, or do not use mod_security, or know that this is likely how search engines will see your site. using a vpn can sometimes create this error as well for reasons beyond the scope of this answer. –

    Eric Sebasta

    Jan 19, 2021 at 17:42

    Add a comment 2

    Do you have experience in setting up servers? Is this hosted by yourself or is it a shared hosting package?

    The reason I ask is because this is a server-side (Apache) issue.

    First, make sure your .htaccess file doesn't have any silly rules in it. The error arises because the server is denying access.

    Second, make sure your file permissions are set up correctly. Generally speaking, you want directories to be 7/0/0 or 7/5/0 and files to be 6/0/0 or 6/4/0.

    स्रोत : stackoverflow.com

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

    3.5 (54) When you receive error Not Acceptable! “An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.” That means you have tried some wrong passwords or tried to reach some url’s which server detected you as attacker. And now Read More...

    How To Fix ” An Appropriate Representation Of The Requested Resource Could Not Be Found On This Server. This Error Was Generated By Mod_Security.” Error?

    HOMEWORDPRESS SOLUTIONSHOW TO FIX ” AN APPROPRIATE REPRESENTATION OF THE REQUESTED RESOURCE COULD NOT BE FOUND ON THIS SERVER. THIS ERROR WAS GENERATED BY MOD_SECURITY.” ERROR?

    September 3, 2020 Ateeq Rafeeq Webful Creations, Wordpress Solutions

    3.5 (54)

    When you receive error Not Acceptable! “An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.”

    That means you have tried some wrong passwords or tried to reach some url’s which server detected you as attacker. And now your browser have disabled your access.

    Try clearing cache and cookies.

    For me when i cleared cookies and cache the problem was solved for me. And the url which i couldn’t load before now loading just fine for me. You may try to clear your cookies and cache as well.

    Try to load URL from another browser or from Private browsing

    If you want to confirm if server have blocked you or your IP. Then you can try loading same URL from another browser and also from private browsing. If things goes fine then clearing cookies and cache can work for you.

    How to disable Mod_security through cPanel

    Some hosts provide modsecurity option in cPAnel also not all hosts where you can disable the mod_security

    in to cPanel, under the Security section, click on ModSecurity

    On the next page, you can see the list of domains and on/off status. ModSecurity will be ON by default for all your sites. Click on OFF button to disable ModSecurity

    Disable mod_security using .htaccess on apache server

    Mod_security can be easily disabled with the help of .htaccess. Here’s the code that you will need to add to turn it off:

    SecFilterEngine Off

    SecFilterScanPOST Off

    Warning: We strongly recommend that you enable ModSecurity™ for all of your domains. Only disable ModSecurity while you troubleshoot ModSecurity-related problems.

    Need help of WordPress Expert?

    No technical knowledge? Can we fix An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security. Yes we can fix this only in 25$. Contact Us right now!

    OR Full month WordPress Maintenance Service Which includes several things like performance, SEO, updates and your edits in only 29$.

    How useful was this post?

    Click on a star to rate it!

    Average rating 3.5 / 5. Vote count: 54

    SHARE:

    Leave a Reply

    You must be logged in to post a comment.

    ADVERTISEMENT

    CATEGORIES

    Facebook HTML Tutorial MySQL Payoneer PHP PHP login system PHP Point of Sale

    PHP Project Management System

    Products Quotes

    Recover posts or pages

    RepairBuddy Plugin Services Shopify

    Web Application Development

    Webful Creations

    WordPress Maintenance Service

    wordpress simple shop plugin

    Wordpress Solutions WordPress Themes XHTML/CSS Issues

    स्रोत : www.webfulcreations.com

    [Solved] Not Acceptable! An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

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

    [Solved] Not Acceptable! An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

    Clay2021-10-17WordPress

    Today when I requested to access my WordPress website through the program, the server returned the following warning message:

    Not Acceptable!

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

    According to the message, we can assume that this error may be in the following two situations:

    Server cannot find the format we request, so ti cannot accept the request

    Server Mod_Security seen the request as a malicious attack

    At present, after trying, there should be 3 solutions:

    Clear Cookie/Cache (This problem occurs when only web browsing)

    Add user-agent and content-type

    Edit the .htaccess file (make sure you can recover)

    Solutions

    Method 1: Clear Cookie/Cache

    One type of blocking is that when you repeatedly enter the wrong account and password, the server-side security protection determined that the browser/IP address you are used is the source of malicious attacks, and block the requests.

    In this case, you can try to clear the cookie/cache of the browser and try the request again.

    Method 2: Add user-agent and content-type

    user-agent is a field that confirm client information, such as the browser version and operating system, as well as fields that may be confirm during anti-crawlers

    content-type is a resource request format, it allow the server to know the format we want to request.

    Method 2: Edit .htaccess file (make sure you can recover)

    Remind again: Please confirm that you can restore the original content of the file.

    To put it simply, in the .htaccess file, set Mod_Security to not enable.

    SecFilterEngine Off

    SecFilterScanPOST Off

    References

    https://stackoverflow.com/questions/19768681/not-acceptable-error-was-generated-by-mod-security

    https://www.webfulcreations.com/how-to-fix-an-appropriate-representation-of-the-requested-resource-could-not-be-found-on-this-server-this-error-was-generated-by-mod_security-error/

    https://stackoverflow.com/questions/57417799/i-call-api-from-python-i-get-the-response-406-not-acceptable

    https://stackoverflow.com/questions/11031167/why-do-i-get-406-not-acceptable-when-using-wordpress-wp-http

    Read More

    [Solved][WordPress] A Problem Occurred When Publicize Connecting To LinkedIn

    [Solved] Yoast SEO: Images on this page do not have alt attributes that reflect the topic of your text

    Share this:

    Click to share on Twitter (Opens in new window)

    Click to share on Facebook (Opens in new window)

    Click to share on LinkedIn (Opens in new window)

    Click to share on Reddit (Opens in new window)

    Related

    [Solved][WordPress] Yoast SEO generate sitemap_index.xml submit to Google Search Console: "sitemap cannot be read"

    2021-11-04 In "WordPress"

    [Solved] IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)!

    2021-10-11 In "Linux"

    [Linux] Using RDP to connect Windows OS

    2021-02-11 In "Linux" Tags:WordPress

    Leave a Reply

    स्रोत : clay-atlas.com

    Do you want to see answer or more ?
    Mohammed 5 day ago
    4

    Guys, does anyone know the answer?

    Click For Answer