On Wednesday 30 January 2013 22:54:29 Valentin V. Bartenev wrote: > I would prefer something like "autoindex_sort" directive > > autoindex_sort criterion [ order ]; > > with variables support. > > And if user want Apache-like behavior then he will be able to configure > it like this: > > map $arg_C $criteria { > default name; > M modified; > S size; > } > > map $arg_O $ord { > default asc; > D desc; > } > > autoindex_sort $criteria $ord;
Nice idea, definitively worth implementing. And for the ";" thing, that could be done with a rewrite right? What is your opinion on extending the autoindex module with support for adding a header with clickable links or something fancy like that? Regards, Peter _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel