Feature Requests: Browse | Submit New | Admin
modify FrsRelease to write to cache file for filename =~ /*.gem$/ try this rewrite map from Jeremy Kemper: RewriteEngine on RewriteMap newgems txt:/usr/local/apache2/conf/newgems.txt RewriteMap gemmirrors rnd:/usr/local/apache2/conf/gemmirrors.map RewriteCond ${newgems:$1|0} =0 RewriteRule ^/gems/(.*) http://${gemmirrors:server}/gems/$1 [R]
Add A Comment:
Date: 2008-06-27 15:52 Sender: Tom Copeland I'll mark this as closed since I can knock out that filename removal script anytime... Tom
Date: 2008-06-26 23:17 Sender: Tom Copeland PHP side seems to be working. Still need to write a script to come along and clean out files after 24 hours. Let's see how this works for the next day or so.... Tom
Date: 2008-06-26 22:40 Sender: Tom Copeland Huzzah, it works! Silly me, I was putting the wrong thing in newgems.txt. OK, now to code up the PHP side... Tom