| From | Sent On | Attachments |
|---|---|---|
| B.R. | Jan 26, 2012 11:15 am | |
| Maxim Dounin | Jan 26, 2012 11:20 am | |
| real...@yahoo.fr | Jan 27, 2012 12:43 pm | |
| Max | Jan 27, 2012 1:51 pm | |
| B.R. | Jan 27, 2012 2:41 pm | |
| B.R. | Jan 27, 2012 3:01 pm | |
| Max | Jan 27, 2012 4:36 pm | |
| B.R. | Jan 27, 2012 7:15 pm | |
| B.R. | Feb 1, 2012 1:45 pm | |
| Max | Feb 1, 2012 4:07 pm | |
| Max | Feb 1, 2012 4:28 pm | |
| B.R. | Feb 1, 2012 4:50 pm |
| Subject: | Re[6]: autoindex directive in 'if' section | |
|---|---|---|
| From: | Max (ngin...@mail.ru) | |
| Date: | Feb 1, 2012 4:28:22 pm | |
| List: | ru.sysoev.nginx | |
02 февраля 2012, 01:46 от "B.R." <real...@yahoo.fr>:
Since the location is based on the new /post_redirect/ folder, the indexing page shows: Index of /post_redirect/*******
It is unaesthetic to me, since I would like the original URI there. :o\ Any trick on that?
Sorry, I misunderstood your question. If you want autoindex to mask the directory name, you'll have to change the source code yourself:
File src/http/modules/ngx_http_autoindex_module.c Function: ngx_http_autoindex_handler(ngx_http_request_t *r) Variable: dir
You could extend the module to include a new command for such masking (autoindex_mask_dir "/dir_to_display/"), it shouldn't take more than 20 minutes to code.
Max
_______________________________________________ nginx mailing list ngi...@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx





