Welcome! Log In Create A New Profile

Advanced

Request: Small enhancement to AutoIndex module

Posted by flint 
Request: Small enhancement to AutoIndex module
July 02, 2011 02:27AM
While I understand that nginx's author probably wants the dir indexing module to be minimal, I guess it doesn't hurt to add these small features as optional directives


1. Enable or disable column header sorting (by name, last modified, size)

2. Display file size in 2 decimal places (eg 30.52 MB, 1.34 GB) when autoindex_exact_size is off


I realize there is 3rd party dir indexing module that does a lot more than nginx's AutoIndex but I just need these 2 extra features on top of nginx's AutoIndex
Re: Request: Small enhancement to AutoIndex module
January 29, 2013 12:22PM
A preliminary patch for (1) sorting can be found on
http://lekensteyn.nl/files/nginx/Autoindex-support-sorting-using-URL-parameters.patch

"preliminary" because no headers are added, you can use URL params though.
Re: Request: Small enhancement to AutoIndex module
September 03, 2013 04:38AM
Whenever possible, you should try on one pair of a table to create a unique clustered index to enhance query operation ... you can also choose the index is clustered or non-clustered. After saving the table information, the index will automatically be created.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready