PDA

View Full Version : add MIME type using .htaccess



samusa
12 Jul 2010, 03:48 PM
can anyone tell me how to do this...
this is how my .htaccess looks like

rewriteengine on
rewritecond %{HTTP_HOST} www.scicomonline.com$ [OR]
rewritecond %{HTTP_HOST} scicomonline.com$
rewriterule $ "http\:\/\/www\.scicomonline\.com\/site\/index\.html" [R=302,L] #4bd0332123c05
AddType text/xml .xml

i have ONLY added the last line....
is that correct. do i need to add anything ???