So this should be pretty simple, but it isn’t working. I have the following code:
RewriteEngine on
RewriteCond %{TIME_DAY} >12
RewriteRule /orderforms/page1.aspx.*$ https://www.site.net/orderforms/page2.aspx [R=301,QSA]
But even though it’s not the 12th yet, it’s still redirecting. Any ideas? Is this not fully supported? Thanks!
(I’m using ISAPI_Rewrite, though I don’t think that should make any difference in this case)
Note that the pattern matching on
RewriteCondis lexiographic, not numerical.