Yes, I’m talking about http://www.litespeedtech.com/.
The AddType is not working in lighthttpd, and I have no idea how to fix it up.
Ah, that is definitely different than lighttpd, as Litespeed is supposed to be a drop-in replacement for Apache, whereas lighttpd is totally different, and is NOT a drop-in replacement. Unfortunately, I have zero experience with Litespeed, but I suspect that perhaps you just need your webhost to add the webp mimetype to their configuration manually.
I’ve found this on a site which is showing how to use adtype in lighthttpd,
but it was very complected to me so didnt understand that what will be the value of “socket” and “bin-path”.
If you could help, that will be great.
You don’t want anything related to lighttpd, that is totally different than litespeed. I would check with your webhost on the mimetype portion.
My webhost id milesweb.com
I’ve contacted them many times, but they were unable to help. May be I’m asking it wrongly. If you could help, I will be really glad.
I finally found a reference in the Litespeed wiki about addtype, so it should be supported, unless your webhost has turned off the addtype directive. It must be something with the actual syntax.
Try this site, these are the original rules I started from: https://gist.github.com/sergejmueller/5500879
I’ve used the rule written in the github page, but still not working. I’ve asek my host if they have disabled AddType and they sid no, they are completely unaware of that.
What should I do now?
A bit of a “me too” post. I’m using cPanel/WHM with Apache 2.4. I’ve placed the rules both at the public_html level and at the cPanel account level and in both cases, the rewrite is not being honoured.
@mbdrake is your host also use lightspeed addon over apache?
My apologies – just Apache. The thing is, when going to the EWWW Image Optimizer plugin page, the Webp image displays correctly. I’ve disabled over plugins that may possibly have had an effect (W3 Total Cache, Wordfence, etc).
mbdrake, please start your own thread.
just now my host gave me this saying that AddType is now working in our server, but still the settings page showing red PNG. Oh god please help.
output
root@destiny ~]# curl -I http://www.isaumya.com/wp-content/plugins/ewww-image-optimizer/test.png.webp
HTTP/1.1 200 OK
Date: Wed, 10 Sep 2014 17:08:26 GMT
Server: LiteSpeed
Accept-Ranges: bytes
Connection: Keep-Alive
Keep-Alive: timeout=5, max=100
Last-Modified: Tue, 09 Sep 2014 16:02:20 GMT
Content-Type: image/webp
Content-Length: 720
Access-Control-Allow-Origin: *
Cache-Control: public, max-age=604800
Expires: Wed, 17 Sep 2014 17:08:26 GMT
Looks like you’re on 2.0.1, did you update the rewrite rules? The naming scheme changed from 2.0 to 2.0.1, so there was a modification for the rules also. If you did, it should say rules verified successfully at the bottom.