Block access to files during certain hours of the day - htaccess

by Rekha 2010-02-17 13:35:25

Options +FollowSymLinks
RewriteEngine On
RewriteBase /
# If the hour is 16 (4 PM) Then deny all access
RewriteCond %{TIME_HOUR} ^16$
RewriteRule ^.*$ - [F,L]

Tagged in:

883
like
0
dislike
0
mail
flag

You must LOGIN to add comments