My Zend Framework application has a public directory which contains an htaccess file. If the file isn't found in the public directory, it routes the request through the application. I have an MP3 file within my public directory, but the htaccess file is routing the request through the application!
Do you see anything wrong with my htaccess file?
AddDefaultCharset utf-8
RewriteEngine on
RewriteRule ^Resources/.* - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|gif|jpg|png|css|htm|html|php|pdf|doc|txt|swf|xml|mp3)$ /index.php [NC]
Turns out the htaccess stuff was also embedded into the apache config file. My co-worker said this is a performance booster.
Is the htacess file readable to the webserver?