A Andrew Member Oct 16, 2005 #1 Oct 16, 2005 #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?
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?
S System Member Oct 17, 2005 #3 Oct 17, 2005 #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.
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.
M mistwang LiteSpeed Staff Oct 17, 2005 #4 Oct 17, 2005 #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
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
A Andrew Member Oct 17, 2005 #5 Oct 17, 2005 #5 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!
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!