环境是linux+apache,先找到文件mime.types(路径:apache/conf/mime.types)
application/pdf pdf # application/pdx application/pgp-encrypted pgp # application/pgp-keys application/pgp-signature asc sig application/pics-rules prf
去掉前面的注释即可
标签:docx,doc,application,pgp,apache,pdf,txt From: https://www.cnblogs.com/wesky/p/16955381.html