mime_add
The mime_add
directive is no longer supported in Sun WebServer 2.1. All mime types must be specified in the mime.types file at either the server or site level.
mime_add
directive Given the following Sun WebServer 1.0 directive:
server { mime_add "image/.jpeg" "JPG" } |
Make sure a mime.types file is specified in /etc/http/server1.httpd.conf:
If this file is shared among all the servers, changes will effect all httpd daemons
server { mime_file "/etc/http/mime.types } |
Add the new MIME mappings to the /etc/http/mime.types file:
image/jpeg JPG |