Guest User

Untitled

a guest
Jun 23rd, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. # -------------------------------------------------
  2. # UTF-8 encoding
  3. # -------------------------------------------------
  4.  
  5. # Use UTF-8 encoding for anything served text/plain or text/html
  6. AddDefaultCharset utf-8
  7.  
  8. # Force UTF-8 for a number of file formats
  9. AddCharset utf-8 .html .css .js .xml .json .rss .atom .md
  10.  
  11. # -------------------------------------------------
  12. # Directory Browsing
  13. # -------------------------------------------------
  14.  
  15. Options +Indexes
  16.  
  17.  
  18.  
  19. # -------------------------------------------------
  20. # Handling CORS
  21. # -------------------------------------------------
  22. Header Set Access-Control-Allow-Origin *
  23.  
  24. # -------------------------------------------------
  25. # Directory Authentication
  26. # -------------------------------------------------
  27. #AuthType Basic
  28. #AuthName "The Realm of Westeros"
  29. #AuthUserFile /Applications/MAMP/user-pass/.htpasswd
  30. #Require user bob
  31. #Require valid-user
  32.  
  33. # Examples of creating passwords from Terminal
  34. #/path/to/htpasswd -c /etc/htpasswd/.htpasswd user1
  35. #/path/to/htpasswd /etc/htpasswd/.htpasswd user2
Add Comment
Please, Sign In to add comment