• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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