I have the following mod_rewrite rule:
RewriteRule ^/yui-3.3/yui_config.js$ /web/yui/yui_config.js [R]
when looking at the network traffic with Firebug and Chrome I noticed that /yui-3.3/yui_config.js reports its type as text/html which obviously doesn't look right. I tried changing the rule to:
RewriteRule ^/yui-3.3/yui_config.js$ /web/yui/yui_config.js [T=application/javascript,R]
but the type is still text/html.
How can I ensure that my file is served as application/javascript?