"mimetype.conf" の書き方

yServW は Content-type を含んだ METAヘッダを返します。 ここでは Content-type と拡張子との関連付けを定義します。

mimetype.conf
text/plain=txt,text,log
text/html=htm,html
image/bmp=bmp
image/jpeg=jpeg,jpg,jpe,jpz
image/gif=gif,ifm
application/octet-stream=exe,zip,lzh,class,jar,LZH
		

ご覧のように、小文字と大文字は別物として扱います。ご注意ください。

戻る