Configuring Apache2 /etc/mime.types to display .pgm images

3

1

I'm trying to display a .pgm image on my Apache2 server, however I can't seem to get it working. I've edited my /etc/mime.types file to include the line image/x-portable-graymap pgm, but it still doesn't work. Does anyone know why?

Andrew

Posted 2013-12-02T08:30:45.180

Reputation: 365

Answers

0

try add that to httpd.conf

 AddType image/x-portable-graymap .pgm

haulpd

Posted 2013-12-02T08:30:45.180

Reputation: 1

2How does the dot help? – Journeyman Geek – 2016-05-06T09:08:50.547