Great Reviews!Need help setting up your website, installing Apache, PHP, MySQL, or RavenNuke(tm)?Need help customizing or designing scripts?Please contact us via the Contact Us option for further details and pricing.
Description:
When tricks like time-dependend content should happen, a lot of webmasters still use CGI scripts which do for instance redirects to specialized pages. How can it be done via mod_rewrite? Solution:
There are a lot of variables named TIME_xxx for rewrite conditions. In conjunction with the special lexicographic comparison patterns <STRING, >STRING and =STRING we can do time-dependend redirects:
Description:
How can we forbid a list of externally configured hosts from using our server?
Solution:
RewriteEngine on
RewriteMap hosts-deny txt:/path/to/hosts.deny
RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR]
RewriteCond ${hosts-deny:%{REMOTE_ADDR}|NOT-FOUND} !=NOT-FOUND
RewriteRule ^/.* - [F]
Posted on Sunday, October 10, 2004 @ 01:50:26 EDT by Raven
Re: Apache Solutions - Time-Dependent Rewriting & Host Deny From (Score: 1) by beetraham(beetraham@ec-clan.org) on Sunday, October 10, 2004 @ 11:27:58 EDT Not registered user
Marvellous!
At least to me, this opens up all new possibilities regarding *.htaccess* utilization being incorporated with "Google Tapped" PHP-Nuke Modules - i.e. timed control of PHP-Nuke Modules. This is awesome!