| From | Sent On | Attachments |
|---|---|---|
| B.R. | Jan 26, 2012 11:15 am | |
| Maxim Dounin | Jan 26, 2012 11:20 am | |
| real...@yahoo.fr | Jan 27, 2012 12:43 pm | |
| Max | Jan 27, 2012 1:51 pm | |
| B.R. | Jan 27, 2012 2:41 pm | |
| B.R. | Jan 27, 2012 3:01 pm | |
| Max | Jan 27, 2012 4:36 pm | |
| B.R. | Jan 27, 2012 7:15 pm | |
| B.R. | Feb 1, 2012 1:45 pm | |
| Max | Feb 1, 2012 4:07 pm | |
| Max | Feb 1, 2012 4:28 pm | |
| B.R. | Feb 1, 2012 4:50 pm |
| Subject: | Re : autoindex directive in 'if' section | |
|---|---|---|
| From: | real...@yahoo.fr (real...@yahoo.fr) | |
| Date: | Jan 27, 2012 12:43:09 pm | |
| List: | ru.sysoev.nginx | |
I know this Wiki page...
I guess return/rewrite are useless here: I only want to change the root and
activate the directory listing when the user is on a specific directory of a
specific domain.
Any more help ? :\
Thx, B.R.
________________________________ De : Maxim Dounin <mdou...@mdounin.ru> À : ngi...@nginx.org Envoyé le : Jeudi 26 janvier 2012 14h21 Objet : Re: autoindex directive in 'if' section
Hello!
On Thu, Jan 26, 2012 at 02:16:22PM -0500, B.R. wrote:
Hello,
I would like to use the following in my conf file: location a/ { if ($host ~* "") { root ""; autoindex on; } }
But that doesn't work: 'nginx: [emerg] "autoindex" directive is not allowed here'
What should I do?
http://wiki.nginx.org/IfIsEvil
Maxim Dounin
_______________________________________________ nginx mailing list ngi...@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________ nginx mailing list ngi...@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx





