• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Search results

  1. I

    Issue Custom error pages not working from PHP

    Yes I've got the files in the default /var/www/vhosts/domain.com/error_docs/ folder (but have also tried popping them in a separate folder) I can't change the site itself to be served by Nginx as we're dependent on .htaccess. I could rebuild those rules in Nginx, but the change control process...
  2. I

    Issue Custom error pages not working from PHP

    The site is running with Proxy Mode turned on, and PHP-FPM through Apache, so in theory those nginx directives shouldn't be needed. I went ahead and tried anyway, with no effect. I've also tried a bunch of different permutations based on that link. I think every combination of: - Custom errors...
  3. I

    Issue Custom error pages not working from PHP

    Thanks Kaspar, but the issue is different to what's described on the linked StackOverflow. If I use `http_response_code(400)` the server does correctly respond with a 400 status code, but instead of being our custom error page, it just gives a generic 400 error.
  4. I

    Issue Custom error pages not working from PHP

    Anyone with bright ideas?
  5. I

    Issue Custom error pages not working from PHP

    I've set up Custom Error Pages through Plesk. Initially this was all working perfectly, however since then we've migrated to a new server, and now they're not working quite right. If I trigger an error page through .htaccess e.g. RewriteRule ^foo$ - [R=405,NC,L] This works perfectly and we...
Back
Top