I'm trying to forbid users access to a certain folder that has the current date in the folder name.
This does not work:
RewriteCond %{REQUEST_URI} ^/folder%{TIME_YEAR}%{TIME_MON}%{TIME_DAY}
RewriteRule .* - [F]
This does (considering today is 2015-11-16)
RewriteCond %{REQUEST_URI} ^/folder20151116
RewriteRule .* - [F]