Nginx feature request

Manlio Perillo manlio_perillo at libero.it
Sun Feb 10 22:35:22 MSK 2008


Manlio Perillo ha scritto:
> [...]
> 
>> 2.
>> Independent from the above, it might be useful to be able to access 
>> the filetime of requested file for defining rewriting rules or for 
>> ssi. This could either be through a variable or through a function:
>>
>> if ($date_gmt < fct($request_filename)) {do something, e.g. return 403;}
>>
> 
> This too is easy to implement patching the rewrite module, but nginx 
> will not be able to do the comparison (it only support boolean and regex 
> opoerators).
> 

A correction: this feature requires to patch the http script module too.


Manlio Perillo







More information about the nginx mailing list