/ Published in: Other
                    
                                        
Redirects all calls to mp3 files to a proxy (usefull fr example to track stats on db) the +FollowSymlinks should be already setted, but if it isnt' this setting with use it. FollowSymlinks must be on to use the rewrite engine.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*)\.mp3$ /proxy.php?z=$1.mp3 [QSA]
URL: http://www.barattalo.it/2010/05/02/10-htaccess-usefull-tips/
Comments
 Subscribe to comments
                    Subscribe to comments
                
                