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

Manlio Perillo manlio_perillo at libero.it
Sat Mar 20 00:45:40 MSK 2010

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.


It would be more coherent, IMHO, if param name is "uri".

> Maxim Dounin


More information about the nginx mailing list