daily pastebin goal
64%
SHARE
TWEET

httpd.conf

a guest Mar 24th, 2016 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ServerRoot "D:/ApachePHP"
  2. Listen 0.0.0.0:8080
  3. LoadModule access_compat_module modules/mod_access_compat.so
  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 deflate_module modules/mod_deflate.so
  18. LoadModule dir_module modules/mod_dir.so
  19. LoadModule env_module modules/mod_env.so
  20. LoadModule filter_module modules/mod_filter.so
  21. LoadModule include_module modules/mod_include.so
  22. LoadModule isapi_module modules/mod_isapi.so
  23. LoadModule log_config_module modules/mod_log_config.so
  24. LoadModule mime_module modules/mod_mime.so
  25. LoadModule negotiation_module modules/mod_negotiation.so
  26. LoadModule setenvif_module modules/mod_setenvif.so
  27. <IfModule unixd_module>
  28. User daemon
  29. Group daemon
  30. </IfModule>
  31. ServerAdmin admin@example.com
  32. <Directory />
  33.     AllowOverride none
  34.     Require all denied
  35. </Directory>
  36. DocumentRoot "D:/WAL/htdocs/web_sls"
  37. <Directory "D:/WAL/htdocs/web_sls">
  38.     Options Indexes FollowSymLinks
  39.     AllowOverride None
  40.     Require all granted
  41. </Directory>
  42. <IfModule dir_module>
  43.     DirectoryIndex index.php
  44. </IfModule>
  45. <Files ".ht*">
  46.     Require all denied
  47. </Files>
  48. ErrorLog "logs/error.log"
  49. LogLevel warn
  50. <IfModule log_config_module>
  51.     LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  52.     LogFormat "%h %l %u %t \"%r\" %>s %b" common
  53.     <IfModule logio_module>
  54.       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  55.     </IfModule>
  56. </IfModule>
  57. <IfModule alias_module>
  58.     ScriptAlias /cgi-bin/ "D:/ApachePHP/cgi-bin/"
  59. </IfModule>
  60. <IfModule cgid_module>
  61. </IfModule>
  62. <Directory "D:/ApachePHP/cgi-bin">
  63.     AllowOverride None
  64.     Options None
  65.     Require all granted
  66. </Directory>
  67. <IfModule mime_module>
  68.     TypesConfig conf/mime.types
  69.     AddType application/x-compress .Z
  70.     AddType application/x-gzip .gz .tgz
  71. </IfModule>
  72. AcceptFilter http none
  73. AcceptFilter https none
  74. EnableSendfile off
  75. EnableMMAP off
  76. <IfModule proxy_html_module>
  77. Include conf/extra/proxy-html.conf
  78. </IfModule>
  79. <IfModule ssl_module>
  80. SSLRandomSeed startup builtin
  81. SSLRandomSeed connect builtin
  82. </IfModule>
  83. LoadModule php7_module "d:/ApachePHP/php/php7apache2_4.dll"
  84. AddType application/x-httpd-php .php
  85. PHPIniDir "D:/ApachePHP/php"
  86. <IfModule mod_deflate.c>
  87.     AddOutputFilterByType DEFLATE text/plain text/html text/xml
  88.     AddOutputFilterByType DEFLATE text/css text/javascript
  89.     AddOutputFilterByType DEFLATE application/xml application/xhtml+xml
  90.     AddOutputFilterByType DEFLATE application/rss+xml
  91.     AddOutputFilterByType DEFLATE application/javascript application/x-javascript
  92.     BrowserMatch ^Mozilla/4 gzip-only-text/html
  93.     BrowserMatch ^Mozilla/4\.0[678] no-gzip
  94.     BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  95. </IfModule>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top