+1
On Aug 28, 2014 3:29 PM, "Christopher Zimmermann" <[email protected]>
wrote:

> On Thu, 28 Aug 2014 14:37:34 +0300 Gregory Edigarov
> <[email protected]> wrote:
>
> > Hello
> >
> > are there any plans to implement uri rewriting or something in a manner
> > of 'try_files' configuration option of nginx?
>
> I plan to add a URL stripping option, somewhat more powerful than the
> nginx alias directive:
>
>
> root [strip number] directory
>         Set the document root of the server.  The directory is a
>         pathname within the chroot(2) root directory of httpd.  If not
>         specified, it defaults to /htdocs.  If the strip option is set,
> number
>         path components are removed from the beginning of the URI before
>         directory is prepended.
>
> this would allow you to do for example:
>
> location "/wiki/" {
>         strip 1
>         root "/dokuwiki"
>         directory index "doku.php"
>         fastcgi socket "/tmp/php.sock"
> }
>
>
> Christopher
>
>
> --
> http://gmerlin.de
> OpenPGP: http://gmerlin.de/christopher.pub
> F190 D013 8F01 AA53 E080  3F3C F17F B0A1 D44E 4FEE
>
> [demime 1.01d removed an attachment of type application/pgp-signature
> which had a name of signature.asc]

Reply via email to