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

Maxim Dounin mdounin at mdounin.ru
Fri Mar 19 20:25:08 MSK 2010


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".

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.

Maxim Dounin



More information about the nginx mailing list