title: htaccess Can't open files uploaded on server
body: <p>I am uploading mp3 files to my website through a script, but when i try to either download them or play them with an HTML5 player, they don't run.</p>
  
  <p>The download file link looks like this :</p>
  
  <pre><code>http://test.entreplus.com/content/plugins/post_audio/uploadify-local/uploads/Mac.(Miller)!%20-%20Jerry's%20Record%20Store.mp3
  </code></pre>
  
  <p>And when i'm trying to download it, it redirects me to the main page.</p>
  
  <p>It only happens on the live site, although in localhost it works fine.</p>
  
  <p>Could someone be awesome enough to have a look at my .htaccess file and see if the problem is in there?</p>
  
  <pre><code>Options +Indexes +FollowSymlinks
  RewriteEngine on
  
  ## Redirect www.example.com to example.com. Add ## if you don't need the redirect.
  RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
  RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
  
  AddType application/x-shockwave-flash swf
  
  # BEGIN EXPIRES
  #cache html and htm files for one day
  &lt;FilesMatch ".(html|htm)$"&gt;
  Header set Cache-Control "max-age=43200"
  &lt;/FilesMatch&gt;
  
  #cache css, javascript and text files for one week
  &lt;FilesMatch ".(js|css|txt)$"&gt;
  Header set Cache-Control "max-age=604800"
  &lt;/FilesMatch&gt;
  
  #cache flash and images for one month
  &lt;FilesMatch ".(flv|swf|ico|gif|jpg|jpeg|png)$"&gt;
  Header set Cache-Control "max-age=2592000"
  &lt;/FilesMatch&gt;
  
  #disable cache for script files
  &lt;FilesMatch "\.(pl|php|cgi|spl|scgi|fcgi)$"&gt;
  Header unset Cache-Control
  &lt;/FilesMatch&gt;
  # END EXPIRES
  
  &lt;IfModule mod_gzip.c&gt;  
      mod_gzip_on Yes  
      mod_gzip_dechunk Yes  
      mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$  
      mod_gzip_item_include handler ^cgi-script$  
      mod_gzip_item_include mime ^text\.*  
      mod_gzip_item_include mime ^application/x-javascript.*  
      mod_gzip_item_exclude mime ^image\.*  
      mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*  
  &lt;/IfModule&gt;
  
  ##### CORE ADMIN #####
  RewriteRule ^admin/?$ admin_index.php [L]
  RewriteRule ^admin/([a-zA-Z0-9_-]+)/?$ admin_index.php?page=$1 [L]
  RewriteRule ^admin/plugin_settings/plugin/([a-zA-Z0-9_-]+)/?$ admin_index.php?page=plugin_settings&amp;plugin=$1 [L]
  
  ##### GENERIC RULES #####
  RewriteRule \.(css|php|png|jpg|gif|ico|js|inc|txt|gz|xml|html)$ - [NC,L]
  RewriteRule ^([^/]*)/?$ index.php?page=$1 [L]
  RewriteRule ^([^/]*)/([^/]*)/?$ index.php?$1=$2 [L]
  RewriteRule ^([^/]*)/([^/]*)/([^/]*)/?$ index.php?page=$1&amp;$2=$3 [L]
  RewriteRule ^([^/]*)/([^/]*)/([^/]*)/([^/]*)/?$ index.php?$1=$2&amp;$3=$4 [L]
  RewriteRule ^([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/?$ index.php?page=$1&amp;$2=$3&amp;$4=$5 [L]
  RewriteRule ^([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/?$ index.php?$1=$2&amp;$3=$4&amp;$5=$6 [L]
  </code></pre>