adding a TIME variable?

Mike Harding mvh at ix.netcom.com
Fri Jul 25 21:11:37 MSD 2008


How does that help with a rewrite rule?

I am leaning towards doing this on the back end, we still have apache
back there...

On Fri, 2008-07-25 at 10:03 +0800, pf shineyear wrote:
> 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