<div dir="ltr">And an idea, maybe you can add a time based access control in nginx rather than IP.<br>for example , some admin pages can only access at work time.<br><br><div class="gmail_quote">2008/7/25 pf shineyear &lt;<a href="mailto:shinepf@gmail.com">shinepf@gmail.com</a>&gt;:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">u can use a function &quot;ngx_time()&quot; it return a time_t int about seconds<br>
since 1/1/1970<br>
<div><div></div><div class="Wj3C7c"><br>
On Fri, Jul 25, 2008 at 3:59 AM, Mike Harding &lt;<a href="mailto:mvh@ix.netcom.com">mvh@ix.netcom.com</a>&gt; wrote:<br>
&gt; I am porting some apache rewrite rules that use the TIME variable (just<br>
&gt; unix epoch, seconds since 1/1/1970). &nbsp;What would be my best option for<br>
&gt; nginx?<br>
&gt;<br>
&gt; I could<br>
&gt;<br>
&gt; - modify the code to provide a $time variable<br>
&gt; - use fgci<br>
&gt; - use the embedded perl option<br>
&gt; - proxy to an apache server<br>
&gt;<br>
&gt; any other options? &nbsp;How much work would be involved with the first<br>
&gt; option? &nbsp;I am an accomplished C programmer and could provide patches<br>
&gt; back to the project...<br>
&gt;<br>
&gt; - Mike H.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div>