Rewrite engine
Hi,
i got the following script from the apache web site. I am attempting to set some time based rules for access to my server. here is the code:#RewriteEngine on #RewriteCond %{TIME_HOUR}%{TIME_MIN} >2300 #RewriteCond %{TIME_HOUR}%{TIME_MIN} <0900 #RewriteRule ^day\.php$ day.day.php #RewriteRule ^night\.php$ night.night.php RewriteEngine on RewriteCond %{TIME_HOUR}%{TIME_MIN} >2300 RewriteCond %{TIME_HOUR}%{TIME_MIN} <0900 RewriteRule ^foo\.html$ foo.day.html RewriteRule ^foo\.html$ foo.night.html I changed the names of the html files to ones that i created with embedded messages. For some reason, not working. I checked my http.conf to make sure that the rewrite engine module is turned on , it is. any suggestions please? tnx, bob |
Any messages in the logs?
|
rewrite engine
hi,
no messages in the logs. just no response. server still preforms as usual. |
All times are GMT -5. The time now is 04:22 PM. |