Welcome! Log In Create A New Profile

Advanced

Re: autoindex subdirectories

Patrick
May 08, 2019 08:28PM
On 2019-05-09 08:48, Duke Dougal wrote:
> Is there any way to get autoindex to return a recursive list of
> files/directories?

What modules do you have available to work with?

Just using default built modules, there doesn't seem to be a way.

Using non-default modules, you could use:

1) ngx_http_perl + some perl

2) ngx_http_addition + some javascript added to the page to ajax query
and rewrite the page

3) the 3rd-party lua module + some lua


While it's definitely a hack, option #2 seems the best unless you need
to cater to javascript-less clients.

Anyone see a cleaner solution?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

autoindex subdirectories

Duke Dougal May 08, 2019 06:50PM

Re: autoindex subdirectories

Patrick May 08, 2019 08:28PM

Re: autoindex subdirectories

Igor A. Ippolitov May 09, 2019 05:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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