Welcome! Log In Create A New Profile

Advanced

Re: difference between "file" and "virtual" parameters in the SSI "include" command

Maxim Dounin
March 19, 2010 07:52PM
Hello!

On Fri, Mar 19, 2010 at 10:45:40PM +0100, Manlio Perillo wrote:

> Maxim Dounin ha scritto:
> > Hello!
> >
> > On Fri, Mar 19, 2010 at 05:00:38PM +0100, Manlio Perillo wrote:
> >
> >> Hi.
> >>
> >> I'm reading the source code and doing some tests, but I'm not sure to
> >> understand what is the difference between the "file" and "virtual"
> >> parameters in the SSI "include" command.
> >
> > There is no difference expect file="..." implies wait="yes".
> >
>
> Ok, this confirms my suspect.
>
> > The difference was in original Apache implementation where
> > file="..." suggested path on file system while virtual="..." was
> > for uri. In nginx both file="..." and virtual="..." use uri.
> >
>
> Thanks.
>
> It would be more coherent, IMHO, if param name is "uri".

It's expected to be more or less compatible with Apache SSI, so
generally preserve original syntax.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

difference between "file" and "virtual" parameters in the SSI "include" command

Manlio Perillo March 19, 2010 12:06PM

Re: difference between "file" and "virtual" parameters in the SSI "include" command

Cliff Wells March 19, 2010 12:26PM

Re: difference between "file" and "virtual" parameters in the SSI "include" command

Maxim Dounin March 19, 2010 01:28PM

Re: difference between "file" and "virtual" parameters in the SSI "include" command

Manlio Perillo March 19, 2010 05:50PM

Re: difference between "file" and "virtual" parameters in the SSI "include" command

Maxim Dounin March 19, 2010 07:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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