httpd.conf options for forcing default mime-type and switch mime-type extensions case sensitivity

xeros xeros at irc.pl
Sun Dec 4 20:52:06 UTC 2011


Hi,
I use BusyBox (with httpd applet) in TV, not only for web browser but also 
builtin proprietary media player written by TV vendor. This httpd 
instance listens only on localhost address.

I have noticed that there's no option in httpd.conf to set default 
mime-type for unknown files. Unfortunately media player does not accept 
application/octet-stream mime-type so I need to set other mime-type for 
all media files extensions individually. It has it's own one mime-type 
which can be used for all media files to make it play any supported 
stream.

Would you add httpd.conf option to set default mime-type for unknown files 
instead of application/octet-stream and possibility to use mixed case 
file extensions mime-types being recognised? (for example - mime type set 
to .avi does not apply to .AVI extension).

Thanks in advance.

Regards,
xeros


More information about the busybox mailing list