PDA

View Full Version : Custom cPanel mime-types keep getting reset


travisbell
09-20-2007, 10:03 AM
Hey guys,

I have no idea what is going on here... I add a new mime-type in cPanel, and it works.

Later, I come along, and even though my mime-type is present in the cPanel list, LiteSpeed is defaulting to the original mime-type that was causing us issues. I *think* it's happening after a server restart, but I haven't got a 100% reliable case yet.

Any ideas?

mistwang
09-20-2007, 10:43 AM
How is the custom mime-type set? Can you just change LiteSpeed's global mime configuration?

travisbell
09-20-2007, 10:52 AM
Hey,

I am setting it here: http://meticulo.com/share/cpanel-mime-types.png

Where do I configure LiteSpeed's global config? I looked but couldn't find it.

Cheers,

mistwang
09-21-2007, 09:08 AM
We tried it in our lab, and the MIME setting added in httpd.conf with "AddType" always overrides LSWS global MIME configuration.

LSWS global MIME configuration is

http://www.litespeedtech.com/docs/webserver/config/general/#mime

just click the file path to edit it.

travisbell
09-21-2007, 09:44 AM
Awesome. That's all I needed.

Cheers,