adding a TIME variable?

pf shineyear shinepf at gmail.com
Fri Jul 25 06:03:01 MSD 2008


u can use a function "ngx_time()" it return a time_t int about seconds
since 1/1/1970

On Fri, Jul 25, 2008 at 3:59 AM, Mike Harding <mvh at ix.netcom.com> wrote:
> I am porting some apache rewrite rules that use the TIME variable (just
> unix epoch, seconds since 1/1/1970).  What would be my best option for
> nginx?
>
> I could
>
> - modify the code to provide a $time variable
> - use fgci
> - use the embedded perl option
> - proxy to an apache server
>
> any other options?  How much work would be involved with the first
> option?  I am an accomplished C programmer and could provide patches
> back to the project...
>
> - Mike H.
>
>
>
>





More information about the nginx mailing list