PDA

View Full Version : add MIME type using .htaccess



samusa
12 Jul 2010, 04:00 PM
here is how my .htaccess file 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 this correct. if NOT how do i do it.