[Resolved] Errors Access denied with code 403 Plesk on the Server 2019 | ModSecurity: Access denied with code 403 (phase 2). Match of
We will get the errors Access denied with code 403 When moving the website or deploy the new website with the Plesk on Window Server 2019
More details:
[client xxx.xxx.xxx.xxx] ModSecurity: Access denied with code 403 (phase 2). Match of "within %{tx.allowed_request_content_type}" against "TX:content_type" required. [file "C:\/Program Files (x86)/Plesk/ModSecurity/rules/modsecurity_crs-plesk/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "956"] [id "920420"] [msg "Request content type is not allowed by policy"] [data "|text/html|"] [severity "CRITICAL"] [ver "OWASP_CRS/3.3.0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "paranoia-level/1"] [tag "OWASP_CRS"] [tag "capec/1000/255/153"] [tag "PCI/12.1"] [hostname "SAU-CF923-VW"] [uri "/wp-login.php"] [unique_id "16717361823241733707"]
[Solved]
Correct your web.config
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<ModSecurity enabled="false" configFile="C:\inetpub\wwwroot\owasp_crs\modsecurity.conf" />
</system.webServer>
Hope it can help,
GoDevStack.com
إرسال تعليق
Thank for leaving message