Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: [RFC] [PATCH] Autoindex: support sorting using URL parameters

$
0
0
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

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>