Dobrý den.
V .htaccess mám:
deny from 123.456.789
deny from 123.456.789
A mě by zajímalo, zda jde u deny zadat nějaký datum, kdy už nebude platit.
Doufám že to je srozumitelné.
<HTML>Moc se toho najít nedá, ale s datem/časem umí pracovat mod_rewrite:
Deny Access To a Folder During a Specific Time
If for some reason you would like to block access to files in a directory during a specific time of day, you can do so by adding the following code to an .htaccess file.
<code>RewriteEngine On
# If the hour is 16 (4 PM)
RewriteCond %{TIME_HOUR} ^16$
# Then deny all access
RewriteRule ^.*$ - [F,L]
# Multiple hour blocks
# If the hour is 4 PM or 5 PM or 8 AM
RewriteCond %{TIME_HOUR} ^16|17|08$</code></HTML>