Welcome! Log In Create A New Profile


Re: error_page and 401 code

December 02, 2009 05:56AM
On Tue, Dec 1, 2009 at 13:08, d2 <nginx-forum@nginx.us> wrote:
> Can anyone explain, why  401 code can not be used with full webserver's address? (as far as I can see, this is the only error code which cause troubles).

I can't, but why would you do that? If you were to change the domain
(or use that configuration for another site), you'd ahve to change
that error page, whereas if you keep it relative, you keep it simple -
so long as you also use root /path/to/htdocs in your locations.

Just my 2¢

() ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\ ascii ribbon campaign - against html e-mail

nginx mailing list
Subject Author Posted

error_page and 401 code

d2 December 01, 2009 08:08AM

Re: error_page and 401 code

vesperto December 02, 2009 05:56AM

Re: error_page and 401 code

d2 December 02, 2009 06:01AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 92
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready