Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2017
951
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Define SRVROOT "/Apache24"
  2. ServerRoot "${SRVROOT}"
  3. Listen 8080
  4. LoadModule actions_module modules/mod_actions.so
  5. LoadModule alias_module modules/mod_alias.so
  6. LoadModule allowmethods_module modules/mod_allowmethods.so
  7. LoadModule asis_module modules/mod_asis.so
  8. LoadModule auth_basic_module modules/mod_auth_basic.so
  9. LoadModule authn_core_module modules/mod_authn_core.so
  10. LoadModule authn_file_module modules/mod_authn_file.so
  11. LoadModule authz_core_module modules/mod_authz_core.so
  12. LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  13. LoadModule authz_host_module modules/mod_authz_host.so
  14. LoadModule authz_user_module modules/mod_authz_user.so
  15. LoadModule autoindex_module modules/mod_autoindex.so
  16. LoadModule cgi_module modules/mod_cgi.so
  17. LoadModule dir_module modules/mod_dir.so
  18. LoadModule env_module modules/mod_env.so
  19. LoadModule include_module modules/mod_include.so
  20. LoadModule info_module modules/mod_info.so
  21. LoadModule isapi_module modules/mod_isapi.so
  22. LoadModule log_config_module modules/mod_log_config.so
  23. LoadModule mime_module modules/mod_mime.so
  24. LoadModule negotiation_module modules/mod_negotiation.so
  25. LoadModule setenvif_module modules/mod_setenvif.so
  26. LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
  27. LoadModule ssl_module modules/mod_ssl.so
  28. LoadModule status_module modules/mod_status.so
  29. LoadModule authnz_sspi_module modules/mod_authnz_sspi.so
  30. LoadModule _1cws_module "C:/Program Files (x86)/1cv8/8.3.8.2197/bin/wsap24.dll"
  31. <IfModule unixd_module>
  32. User daemon
  33. Group daemon
  34. </IfModule>
  35. ServerAdmin admin@example.com
  36. ServerName localhost:80
  37. <Directory />
  38.     AllowOverride none
  39.     Require all denied
  40. </Directory>
  41. DocumentRoot "${SRVROOT}/htdocs"
  42. <Directory "${SRVROOT}/htdocs">
  43.     Options Indexes FollowSymLinks
  44.     AllowOverride None
  45.     Require all granted
  46. </Directory>
  47. <IfModule dir_module>
  48.     DirectoryIndex index.html
  49. </IfModule>
  50. <Files ".ht*">
  51.     Require all denied
  52. </Files>
  53. #ErrorLog "logs/error.log"
  54. ErrorLog "|bin/rotatelogs.exe -l C:/Apache24/logs/error.%Y.%m.%d.log 86400"
  55. LogLevel debug
  56. <IfModule log_config_module>
  57.     LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  58.     LogFormat "%h %l %u %t \"%r\" %>s %b" common
  59.     <IfModule logio_module>
  60.   # You need to enable mod_logio.c to use %I and %O
  61.       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  62.     </IfModule>
  63. #    CustomLog "logs/access.log" common
  64.     CustomLog "|bin/rotatelogs.exe -l C:/Apache24/logs/access.%Y.%m.%d.log 86400" common
  65. </IfModule>
  66. <IfModule alias_module>
  67.     ScriptAlias /cgi-bin/ "${SRVROOT}/cgi-bin/"
  68. </IfModule>
  69. <IfModule cgid_module>
  70. </IfModule>
  71. <Directory "${SRVROOT}/cgi-bin">
  72.     AllowOverride None
  73.     Options None
  74.     Require all granted
  75. </Directory>
  76. Alias "/IT" "C:/it_www/"
  77. <Directory "C:/it_www/">
  78.     AllowOverride All
  79.     Require all granted
  80.     SetHandler 1c-application
  81.     ManagedApplicationDescriptor "C:/it_www/default.vrd"
  82. </Directory>
  83. Alias "/ITrating" "c:/itrating_www/"
  84. <Directory "c:/itrating_www/">
  85.     AllowOverride All
  86.     Require all granted
  87.     SetHandler 1c-application
  88.     ManagedApplicationDescriptor "c:/itrating_www/itrating.vrd"
  89. </Directory>
  90. <IfModule mime_module>
  91.     TypesConfig conf/mime.types
  92.     AddType application/x-compress .Z
  93.     AddType application/x-gzip .gz .tgz
  94. </IfModule>
  95. Include conf/extra/httpd-autoindex.conf
  96. Include conf/extra/httpd-info.conf
  97. <IfModule proxy_html_module>
  98. Include conf/extra/httpd-proxy-html.conf
  99. </IfModule>
  100. <IfModule ssl_module>
  101. Include conf/extra/httpd-ahssl.conf
  102. SSLRandomSeed startup builtin
  103. SSLRandomSeed connect builtin
  104. </IfModule>
  105. <IfModule http2_module>
  106.     ProtocolsHonorOrder On
  107.     Protocols h2 h2c http/1.1
  108. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement