- Code: Select all
RewriteEngine On
RewriteCond %{TIME_HOUR} ^16$ # If the hour is 16 (4 PM)
RewriteRule ^.*$ - [F,L] # Then deny all access
RewriteCond %{TIME_HOUR} ^16|17|08$ # Multiple hour blocks, 4 or 5 or 8 AM
RewriteEngine On
RewriteCond %{TIME_HOUR} ^16$ # If the hour is 16 (4 PM)
RewriteRule ^.*$ - [F,L] # Then deny all access
RewriteCond %{TIME_HOUR} ^16|17|08$ # Multiple hour blocks, 4 or 5 or 8 AM
Return to Security and Authentication
Users browsing this forum: No registered users