LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > AddType & svg

Reply
 
Thread Tools Display Modes
  #1  
Old 10-15-2005, 05:04 PM
Andrew Andrew is offline
Member
 
Join Date: Oct 2005
Posts: 10
Default AddType & svg

Using this code in an .htaccess, svg is getting served up as application/octet-stream

Code:
AddType image/svg+xml svg
AddType image/svg+xml svgz
Any tips on what I'm doing wrong?
Reply With Quote
  #2  
Old 10-17-2005, 11:16 AM
Andrew Andrew is offline
Member
 
Join Date: Oct 2005
Posts: 10
Anyone?
Reply With Quote
  #3  
Old 10-17-2005, 01:26 PM
System System is offline
New Member
 
Join Date: Oct 2005
Posts: 5
I don't think lsws supports setting mime types in an .htaccess file, but I am not sure. Anyway did you try to add them into lsws' mime file found at
Server General | General Settings | MIME File.
Reply With Quote
  #4  
Old 10-17-2005, 01:32 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Andrew,

That's because '+' was not allowed in a MIME type. should be fixed in 2.1.3.

System,
LSWS does support MIME types configurations in .htacess, just like Apache. :-)

George
Reply With Quote
  #5  
Old 10-17-2005, 02:31 PM
Andrew Andrew is offline
Member
 
Join Date: Oct 2005
Posts: 10
Very nice. Man, I'm on a roll... that's the third forum today where a problem I've had has led to a productive bugfix. Thanks!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:45 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.