Nginx feature request

Hendrik Hardeman hendrik.hardeman at hotmail.com
Sun Feb 10 23:24:26 MSK 2008


Manlio,

Thanks for the correction. Will try to look into this when I find some time. So far, I haven't even looked at any Nginx code, let alone tried to understand how it works.

Anyway, option 1 (directive) seems to be the easiest to implement. So will look at that first.

Hendrik


> Date: Sun, 10 Feb 2008 20:35:22 +0100
> From: manlio_perillo at libero.it
> To: nginx at sysoev.ru
> Subject: Re: Nginx feature request
> 
> 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
> 
> 
> 

_________________________________________________________________
Post free property ads on Yello Classifieds now! www.yello.in
http://ss1.richmedia.in/recurl.asp?pid=220
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080211/5626bee1/attachment.html>


More information about the nginx mailing list