Guest User

Untitled

a guest
Apr 9th, 2013
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # CGI directory exists, if you have that configured.
  2. #
  3. <Directory "/xampp/cgi-bin">
  4.     AllowOverride None
  5.     Options None
  6.     Require all granted
  7. </Directory>
  8.  
  9.  
  10. <IfModule mime_module>
  11.     #
  12.     # TypesConfig points to the file containing the list of mappings from
  13.     # filename extension to MIME-type.
  14.     #
  15.     TypesConfig "conf/mime.types"
  16.  
  17.     #
  18.     # AddType allows you to add to or override the MIME configuration
  19.     # file specified in TypesConfig for specific file types.
  20.     #
  21.     #AddType application/x-gzip .tgz
  22.     #
  23.     # AddEncoding allows you to have certain browsers uncompress
  24.     # information on the fly. Note: Not all browsers support this.
  25.     #
  26.     #AddEncoding x-compress .Z
  27.     #AddEncoding x-gzip .gz .tgz
  28.     #
  29.     # If the AddEncoding directives above are commented-out, then you
  30.     # probably should define those extensions to indicate media types:
  31.     #
  32.     AddType application/x-compress .Z
  33.     AddType application/x-gzip .gz .tgz
  34.  
  35.     #
  36.     # AddHandler allows you to map certain file extensions to "handlers":
  37.     # actions unrelated to filetype. These can be either built into the server
  38.     # or added with the Action directive (see below)
  39.     #
  40.     # To use CGI scripts outside of ScriptAliased directories:
  41.     # (You will also need to add "ExecCGI" to the "Options" directive.)
  42.     #
  43.     AddHandler cgi-script .cgi .pl .asp
  44.  
  45.     # For type maps (negotiated resources):
  46.     #AddHandler type-map var
  47.  
  48.     #
  49.     # Filters allow you to process content before it is sent to the client.
  50.     #
  51.     # To parse .shtml files for server-side includes (SSI):
  52.     # (You will also need to add "Includes" to the "Options" directive.)
  53.     #
  54.     AddType text/html .shtml
  55.     AddOutputFilter INCLUDES .shtml
  56. </IfModule>
  57.  
  58. <IfModule mime_magic_module>
  59.     #
  60.     # The mod_mime_magic module allows the server to use various hints from the
  61.     # contents of the file itself to determine its type.  The MIMEMagicFile
  62.     # directive tells the module where the hint definitions are located.
  63.     #
  64.     MIMEMagicFile "conf/magic"
  65. </IfModule>
  66.  
  67. #
  68. # Customizable error responses come in three flavors:
  69. # 1) plain text 2) local redirects 3) external redirects
  70. #
  71. # Some examples:
  72. #ErrorDocument 500 "The server made a boo boo."
  73. #ErrorDocument 404 /missing.html
  74. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  75. #ErrorDocument 402 http://localhost/subscription_info.html
  76. #
  77.  
  78. #
  79. # EnableMMAP and EnableSendfile: On systems that support it,
  80. # memory-mapping or the sendfile syscall is used to deliver
  81. # files.  This usually improves server performance, but must
  82. # be turned off when serving from networked-mounted
  83. # filesystems or if support for these functions is otherwise
  84. # broken on your system.
  85. #
  86. #EnableMMAP off
  87. #EnableSendfile off
  88.  
  89. # Supplemental configuration
  90. #
  91. # The configuration files in the conf/extra/ directory can be
  92. # included to add extra features or to modify the default configuration of
  93. # the server, or you may simply copy their contents here and change as
  94. # necessary.
  95.  
  96. # XAMPP specific settings
  97. Include "conf/extra/httpd-xampp.conf"
  98.  
  99. # Server-pool management (MPM specific)
  100. Include "conf/extra/httpd-mpm.conf"
  101.  
  102. # Multi-language error messages
  103. Include "conf/extra/httpd-multilang-errordoc.conf"
  104.  
  105. # Fancy directory listings
  106. Include "conf/extra/httpd-autoindex.conf"
  107.  
  108. # Language settings
  109. Include "conf/extra/httpd-languages.conf"
  110.  
  111. # User home directories
  112. Include "conf/extra/httpd-userdir.conf"
  113.  
  114. # Real-time info on requests and configuration
  115. Include "conf/extra/httpd-info.conf"
  116.  
  117. # Virtual hosts
  118. Include "conf/extra/httpd-vhosts.conf"
  119.  
  120. # Distributed authoring and versioning (WebDAV)
  121. # Attention! WEB_DAV is a security risk without a new userspecific configuration for a secure authentifcation
  122. # Include "conf/extra/httpd-dav.conf"
  123.  
  124. # Implements a proxy/gateway for Apache.
  125. Include "conf/extra/httpd-proxy.conf"
  126.  
  127. # Various default settings
  128. Include "conf/extra/httpd-default.conf"
  129.  
  130. # Secure (SSL/TLS) connections
  131. Include "conf/extra/httpd-ssl.conf"
  132. #
  133. # Note: The following must must be present to support
  134. #       starting without SSL on platforms with no /dev/random equivalent
  135. #       but a statically compiled-in mod_ssl.
  136. #
  137. <IfModule ssl_module>
  138.     SSLRandomSeed startup builtin
  139.     SSLRandomSeed connect builtin
  140. </IfModule>
  141.  
  142. # Configure mod_proxy_html to understand HTML4/XHTML1
  143. #<IfModule proxy_html_module>
  144. #Include etc/extra/proxy-html.conf
  145. #</IfModule>
  146.  
  147. # AJP13 Proxy
  148. <IfModule mod_proxy.c>
  149. <IfModule mod_proxy_ajp.c>
  150. Include "conf/extra/httpd-ajp.conf"
  151. </IfModule>
  152. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment