Return to Snippet

Revision: 26579
at May 3, 2010 03:02 by ginoplusio

Initial Code
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*)\.mp3$ /proxy.php?z=$1.mp3 [QSA]

Initial URL

Initial Description
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.

Initial Title
Htaccess to redirect all calls to mp3 files to a PHP proxy

Initial Tags

Initial Language