Welcome! Log In Create A New Profile

Advanced

Problem with own error pages in nginx 1.3.5

August 27, 2012 09:58AM
I have a problem with my own error pages with nginx 1.3.5.

[CODE]...
error_page 401 402 403 404 /40x.html;
location = /40x.html {
root /www/default/html;
}
...[/CODE]

With Firefox is all OK.

With IE 8 and IE 9 the browser is unable to show me the an error-site from the webserver. The error-site from the IE browser is shown.

with

[code]...
error_page 401 402 403 404 /40x.html;
location = /40x.html {
root /html;
}
...[/code]

the browser show me the error-site from nginx. I change the configuration in nginx to

[code]...
error_page 401 402 403 404 /40x.html;
location = /40x.html {
root /www/default/html;
}
...[/code]

and restart nginx. Than I push F5 and the browser shows my error-site. When I call again the website with the brower, the browser is unable to show the error-site from the webserver. The browser error-page is shown again.

Varix
Subject Author Posted

Problem with own error pages in nginx 1.3.5

Varix August 27, 2012 09:58AM

Re: Problem with own error pages in nginx 1.3.5

Maxim Dounin September 01, 2012 06:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 287
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