Welcome! Log In Create A New Profile

Advanced

Re: root works, alias doesn't

B.R.
September 25, 2013 02:28PM
Absolute vs Relative paths.
The log file line says it all: '/webalizer/index.html' doesn't exist, which
is not the path of the file you wanna serve...

Take a look at the following examples showing how 'location' address is
replaced or completed (depending on absolute or relative 'alias' directive)
by 'alias' path:
http://nginx.org/en/docs/http/ngx_http_core_module.html#alias
http://stackoverflow.com/questions/10084137/nginx-aliaslocation-directive

PEBCAD? ;o)
---
*B. R.*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

root works, alias doesn't

Grant September 25, 2013 02:16PM

Re: root works, alias doesn't

B.R. September 25, 2013 02:28PM

Re: root works, alias doesn't

Grant September 29, 2013 01:34PM

Re: root works, alias doesn't

B.R. September 29, 2013 03:22PM

Re: root works, alias doesn't

Grant October 01, 2013 03:14AM

Re: root works, alias doesn't

Valentin V. Bartenev October 01, 2013 10:10AM

Re: root works, alias doesn't

Grant October 02, 2013 12:24PM

Re: root works, alias doesn't

Valentin V. Bartenev October 02, 2013 02:24PM

Re: root works, alias doesn't

Grant October 02, 2013 03:04PM

Re: root works, alias doesn't

Valentin V. Bartenev October 01, 2013 09:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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