mime_add
mime_add
指令 假定在 /etc/http/httpd.conf 中有下列 Sun WebServer 1.0 指令:
url //widgets { mime_add "image/jpeg" "JPG" } |
取消对 /var/http/server1/websites/widgets/conf/widgets.site.conf 中的 mime_file
指令的注释:
url //widgets { mime_file "conf/mime.types" } |
向 /var/http/server1/websites/widgets/conf/mime.types 文件添加新的 MIME 映像:
image/jpeg JPG |