Can anyone tell me why this works:
root /var/www/localhost/htdocs;
location / {
root /var/www/localhost/htdocs/webalizer/;
}
And this doesn't:
root /var/www/localhost/htdocs;
location / {
alias /webalizer/;
}
I get:
"/webalizer/index.html" is not found (2: No such file or directory)
/var/www/localhost/htdocs/webalizer/index.html does exist.
- Grant
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
root /var/www/localhost/htdocs;
location / {
root /var/www/localhost/htdocs/webalizer/;
}
And this doesn't:
root /var/www/localhost/htdocs;
location / {
alias /webalizer/;
}
I get:
"/webalizer/index.html" is not found (2: No such file or directory)
/var/www/localhost/htdocs/webalizer/index.html does exist.
- Grant
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx