Guest User

Untitled

a guest
May 21st, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. <IfModule mime_module>
  2. #
  3. # TypesConfig points to the file containing the list of mappings from
  4. # filename extension to MIME-type.
  5. #
  6. TypesConfig etc/apache22/mime.types
  7.  
  8. #
  9. # AddType allows you to add to or override the MIME configuration
  10. # file specified in TypesConfig for specific file types.
  11. #
  12. #AddType application/x-gzip .tgz
  13. #
  14. # AddEncoding allows you to have certain browsers uncompress
  15. # information on the fly. Note: Not all browsers support this.
  16. #
  17. #AddEncoding x-compress .Z
  18. #AddEncoding x-gzip .gz .tgz
  19. #
  20. # If the AddEncoding directives above are commented-out, then you
  21. # probably should define those extensions to indicate media types:
  22. #
  23. AddType application/x-compress .Z
  24. AddType application/x-gzip .gz .tgz
  25.  
  26. #
  27. # AddHandler allows you to map certain file extensions to "handlers":
  28. # actions unrelated to filetype. These can be either built into the server
  29. # or added with the Action directive (see below)
  30. #
  31. # To use CGI scripts outside of ScriptAliased directories:
  32. # (You will also need to add "ExecCGI" to the "Options" directive.)
  33. #
  34. #AddHandler cgi-script .cgi
  35.  
  36. # For type maps (negotiated resources):
  37. #AddHandler type-map var
  38.  
  39. #
  40. # Filters allow you to process content before it is sent to the client.
  41. #
  42. # To parse .shtml files for server-side includes (SSI):
  43. # (You will also need to add "Includes" to the "Options" directive.)
  44. #
  45. AddType text/html .shtml
  46. AddOutputFilter INCLUDES .shtml
  47. </IfModule>
Add Comment
Please, Sign In to add comment