Recent content by Gauthier

  1. Gauthier

    Question Allow specific Content types in Mod Security

    Thank you very much for your appreciated help Kaspar. I already saw this reference manual, and I tried to add a directive in the "Custom directive" text box available in plesk/modsecurity/settings. The directive I added is: "SecResponseBodyMimeType text/x-gwt-rpc". I am not sure that this is...
  2. Gauthier

    Question Allow specific Content types in Mod Security

    Peter Debik, the file is overwritten every 24H by a process I cannot identify. This process should probably not be stoped anyway. Plesk has a text box to "Input a ModSecurity directive" but it does not specify how we can write the directive. Can someone help us, please?
  3. Gauthier

    Question Allow specific Content types in Mod Security

    I also have the same problem. Can someone help us, please?
  4. Gauthier

    cannot redirect https://example.com to https://www.example.com

    SOLVED ! Gran Guru Lloyd_mcse sent me a link in a private message: https://www.lloyd-day.me/secure-redirects-in-plesk/ You just do what's in this link and it will definitively work. Thank you so much Lloyd.
  5. Gauthier

    cannot redirect https://example.com to https://www.example.com

    I also found out the following: Add an ssl exception on firefox to access https://example.com and got a 403 error. Forbidden You don't have permission to access / on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request...
  6. Gauthier

    cannot redirect https://example.com to https://www.example.com

    Thanks for quick reply. nginx is installed. nginx -v returns nginx/1.9.4 In plesk, I removed the apache directives and fill the "Additional nginx directives" with: if ($host ~* ^example.com$) { rewrite ^(.*)$ https://www.example.com$1 permanent; } I ran "nginx -s reload" and restart...
  7. Gauthier

    cannot redirect https://example.com to https://www.example.com

    This is on: OS: ‪CentOS Linux 7.2.1511 (Core)‬ Plesk version: 12.5.30 Update #27 My ssl certificate is for www.example.com Using the "Additional directives for HTTP " text area in plesk, I can redirect http://example.com and http://www.example.com, both to httpS://www.example.com. I also...
Back
Top