Sun WebServer 2.1 Installation Guide

mime_add

To convert the mime_add directive
  1. Given the following Sun WebServer 1.0 directive in /etc/http/httpd.conf:


    url //widgets {
    	mime_add 				"image/jpeg"					"JPG"
    }
  2. Uncomment the mime_file directive in /var/http/server1/websites/widgets/conf/widgets.site.conf:


    url //widgets {
    	mime_file				"conf/mime.types"
    }
  3. Add the new mime mappings to the /var/http/server1/websites/widgets/conf/mime.types file:


    image/jpeg					JPG