Welcome! Log In Create A New Profile

Advanced

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

January 30, 2013 04:04PM
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
Subject Author Views Posted

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

Lekensteyn 2506 January 29, 2013 12:50PM

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

Maxim Dounin 818 January 30, 2013 12:52PM

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

Lekensteyn 1221 January 30, 2013 01:10PM

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

Valentin V. Bartenev 857 January 30, 2013 01:56PM

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

Lekensteyn 1024 January 30, 2013 04:04PM

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

Lekensteyn 1055 February 02, 2013 04:08PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

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