Welcome! Log In Create A New Profile

Advanced

error_page without redirect

Posted by simitu 
error_page without redirect
March 31, 2012 03:05AM
Hello there,

I have problem with customizing erorr page.
I am using nginx as reverse proxy server to apache backend.

I am trying to use custom error_page, it works well, but it does URL redirecting to the error page.
For example domain www.example.net generates error 502 (backend server isn't running), for error 502 there is custom error page at error.example.net/502.html, it correctly shows content of custom error page, but changes URL to erorr.example.net/502.html.
I want to keep URL at www.example.net and shows only content of erorr.example.net/502.html. Is it possible?
Documentation and hours of googling not helping.

Thanks for replies.
Best regards.



Edited 2 time(s). Last edit at 03/31/2012 03:06AM by simitu.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 171
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready