Welcome! Log In Create A New Profile

Advanced

Re: Re[6]: autoindex directive in 'if' section

B.R.
February 01, 2012 07:52PM
OK, thanks for the answer!
---
*B. R.*


On Wed, Feb 1, 2012 at 19:28, Max <nginxyz@mail.ru> wrote:

>
> 02 февраля 2012, 01:46 от "B..R." <reallfqq-nginx@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
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

autoindex directive in 'if' section

B.R. January 26, 2012 02:18PM

Re: autoindex directive in 'if' section

Maxim Dounin January 26, 2012 02:22PM

Re : autoindex directive in 'if' section

reallfqq-nginx@yahoo.fr January 27, 2012 03:44PM

Re[2]: autoindex directive in 'if' section

Max January 27, 2012 04:54PM

Re: Re[2]: autoindex directive in 'if' section

B.R. January 27, 2012 05:44PM

Re: Re[2]: autoindex directive in 'if' section

B.R. January 27, 2012 06:04PM

Re[6]: autoindex directive in 'if' section

Max February 01, 2012 07:10PM

Re[6]: autoindex directive in 'if' section

Max February 01, 2012 07:30PM

Re: Re[6]: autoindex directive in 'if' section

B.R. February 01, 2012 07:52PM

Re[4]: autoindex directive in 'if' section

Max January 27, 2012 07:38PM

Re: Re[4]: autoindex directive in 'if' section

B.R. January 27, 2012 10:18PM

Re: Re[4]: autoindex directive in 'if' section

B.R. February 01, 2012 04:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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