difference between "file" and "virtual" parameters in the SSI "include" command
Maxim Dounin
mdounin at mdounin.ru
Sat Mar 20 02:46:31 MSK 2010
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
More information about the nginx
mailing list