AddType & svg

#1
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?
 
#3
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.
 

mistwang

LiteSpeed Staff
#4
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
 
Top