Welcome! Log In Create A New Profile

Advanced

Re: Custom error pages

Bai Shen
March 16, 2012 02:28PM
Doh! I forgot 'bout the error log.

Apparently, nginx is looking for the file in /etc/nginx//html However, the
default html files were installed in /usr/share/nginx/html

I installed from the repo, so I'm not sure why it installed in one place
yet is looking in another. And I don't have a root html directory set in
any of the conf files.


On Fri, Mar 16, 2012 at 11:18 AM, Francis Daly <francis@daoine.org> wrote:

> On Fri, Mar 16, 2012 at 09:43:39AM -0400, Bai Shen wrote:
>
> Hi there,
>
> > I added this into my config file, and put my-503-error.html in the same
> > location as the default 50x.html file, but all I get is a generic 404
> error
> > page.
>
> You got an error page.
>
> What does the error log say?
>
> Either put your 503 file there; or configure "root" so that it is correct
> within this location{}.
>
> If you're still having problems, please follow the "debug" instructions
> to make it easier for people to help you.
>
> Details on the web site, but in brief:
>
> what did you do?
> what did you see?
> what did you expect to see?
>
> and the more specific you are, the easier it will be for someone else to
> reproduce the problem you are reporting.
>
> Good luck with it,
>
> f
> --
> Francis Daly francis@daoine.org
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Custom error pages

Bai Shen March 13, 2012 09:40AM

Re: Custom error pages

Francis Daly March 13, 2012 07:42PM

Re: Custom error pages

Bai Shen March 14, 2012 08:52AM

Re: Custom error pages

Bai Shen March 15, 2012 10:50AM

Re: Custom error pages

Francis Daly March 15, 2012 03:26PM

Re: Custom error pages

Bai Shen March 16, 2012 09:36AM

Re: Custom error pages

Bai Shen March 16, 2012 09:44AM

Re: Custom error pages

Francis Daly March 16, 2012 11:20AM

Re: Custom error pages

Bai Shen March 16, 2012 02:28PM

Re: Custom error pages

Bai Shen March 28, 2012 03:44PM

Re: Custom error pages

Francis Daly March 28, 2012 05:18PM

Re: Custom error pages

Bai Shen April 03, 2012 04:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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