Guest User

Untitled

a guest
Jan 18th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. ServerRoot "/etc/httpd"
  2. Listen 80
  3. Include conf.modules.d/*.conf
  4. User apache
  5. Group apache
  6. ServerAdmin root@localhost
  7. <Directory />
  8. Options FollowSymLinks
  9. AllowOverride All
  10. </Directory>
  11. DocumentRoot "/MySite/www/"
  12. <IfModule dir_module>
  13. DirectoryIndex index.html
  14. </IfModule>
  15. <Files ".ht*">
  16. Require all denied
  17. </Files>
  18. ErrorLog "logs/error_log"
  19. LogLevel warn
  20. <IfModule log_config_module>
  21. LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
  22. LogFormat "%h %l %u %t "%r" %>s %b" common
  23. <IfModule logio_module>
  24. LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %I %O" combinedio
  25. </IfModule>
  26. CustomLog "logs/access_log" combined
  27. </IfModule>
  28. <IfModule alias_module>
  29. ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
  30. </IfModule>
  31. <Directory "/var/www/cgi-bin">
  32. AllowOverride None
  33. Options None
  34. Require all granted
  35. </Directory>
  36. <IfModule mime_module>
  37. TypesConfig /etc/mime.types
  38. AddType application/x-compress .Z
  39. AddType application/x-gzip .gz .tgz
  40. </IfModule>
  41. AddDefaultCharset UTF-8
  42. <IfModule mime_magic_module>
  43. MIMEMagicFile conf/magic
  44. </IfModule>
  45. EnableSendfile on
  46. IncludeOptional conf.d/*.conf
Add Comment
Please, Sign In to add comment