<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Manlio,<br><br>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.<br><br>Anyway, option 1 (directive) seems to be the easiest to implement. So will look at that first.<br><br>Hendrik<br><br><br>> Date: Sun, 10 Feb 2008 20:35:22 +0100<br>> From: manlio_perillo@libero.it<br>> To: nginx@sysoev.ru<br>> Subject: Re: Nginx feature request<br>> <br>> Manlio Perillo ha scritto:<br>> > [...]<br>> > <br>> >> 2.<br>> >> Independent from the above, it might be useful to be able to access <br>> >> the filetime of requested file for defining rewriting rules or for <br>> >> ssi. This could either be through a variable or through a function:<br>> >><br>> >> if ($date_gmt < fct($request_filename)) {do something, e.g. return 403;}<br>> >><br>> > <br>> > This too is easy to implement patching the rewrite module, but nginx <br>> > will not be able to do the comparison (it only support boolean and regex <br>> > opoerators).<br>> > <br>> <br>> A correction: this feature requires to patch the http script module too.<br>> <br>> <br>> Manlio Perillo<br>> <br>> <br>> <br><br /><hr />Fly HYD-BLR for Rs.499 Log on to MakeMyTrip! <a href='http://ss1.richmedia.in/recurl.asp?pid=266' target='_new'>Check it out!</a></body>
</html>