1# This is a comment because it starts with a #. 2# 3# When peps needs to display a MIME type for a Ghostscript device, it looks 4# for it in a file specified by the -M switch first. If the switch was not 5# used, or the file does not exist, or the file does not list the MIME 6# type for that device, peps looks in ~/peps.mine, where ~ is a home 7# directory. Whose home directory? If the -u switch is used, it is the 8# home directory of the user specified by that switch. Otherwise, if 9# the PEPSMIME environment variable is set, it is the home directory of the 10# user specified by that variable. Otherwise it is the home directory of the 11# effective user running peps. If peps cannot find the MIME type in 12# ~/peps.mime, it tries to read /etc/peps.mime. If it does not find 13# the answer there, it looks at the hardcoded MIME types next. If it still 14# does not find it, peps assumes the MIME type is image/x-devicename. 15# 16# HINT: Chances are that if peps is asked for the MIME type, it is running 17# as a CGI script from within a web server, such as Apache. And the 18# web server is probably running as nobody or a similar fake user. 19# 20# Rather than having to specify your user name with the -u switch 21# in every CGI script (and possibly making a typing mistake), simply 22# set PEPSMIME in your .htaccess file. With Apache, you do it like this: 23# 24# SetEnv PEPSMIME user 25# 26# Remember, it is the user name you need to set PEPSMIME to, not the 27# path to the home directory. 28 29 30# gs device MIME 31bbox text/plain; charset=8859-1 32bmp16 image/bmp 33bmp16m image/bmp 34bmp256 image/bmp 35bmp32b image/bmp 36bmpgray image/bmp 37bmpmono image/bmp 38cgm8 image/cgm 39cgm24 image/cgm 40cgmmono image/cgm 41epswrite application/postscript 42faxg3 image/g3fax 43jpeg image/jpeg 44jpeggray image/jpeg 45miff24 image/x-miff 46pbm image/x-portable-bitmap 47pbmraw image/x-portable-bitmap 48pcx16 image/x-pcx 49pcx24b image/x-pcx 50pcx256 image/x-pcx 51pcxcmyk image/x-pcx 52pcxgray image/x-pcx 53pcxmono image/x-pcx 54pdfwrite application/pdf 55pgm image/x-portable-graymap 56png16 image/png 57png16m image/png 58png256 image/png 59pngalpha image/png 60pnggray image/png 61pnm image/x-portable-anymap 62ppm image/x-portable-pixmap 63psgray application/postscript 64psmono application/postscript 65psrgb application/postscript 66pswrite application/postscript 67tiff12nc image/tiff 68tiff24nc image/tiff 69tiffcrle image/tiff 70tiffg3 image/tiff 71tiffg32d image/tiff 72tiffg4 image/tiff 73tifflzw image/tiff 74tiffpack image/tiff 75