apache 配置pdf、doc、docx、txt网页浏览
环境是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
去掉前面的注释即可