Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # CGI directory exists, if you have that configured.
- #
- <Directory "/xampp/cgi-bin">
- AllowOverride None
- Options None
- Require all granted
- </Directory>
- <IfModule mime_module>
- #
- # TypesConfig points to the file containing the list of mappings from
- # filename extension to MIME-type.
- #
- TypesConfig "conf/mime.types"
- #
- # AddType allows you to add to or override the MIME configuration
- # file specified in TypesConfig for specific file types.
- #
- #AddType application/x-gzip .tgz
- #
- # AddEncoding allows you to have certain browsers uncompress
- # information on the fly. Note: Not all browsers support this.
- #
- #AddEncoding x-compress .Z
- #AddEncoding x-gzip .gz .tgz
- #
- # If the AddEncoding directives above are commented-out, then you
- # probably should define those extensions to indicate media types:
- #
- AddType application/x-compress .Z
- AddType application/x-gzip .gz .tgz
- #
- # AddHandler allows you to map certain file extensions to "handlers":
- # actions unrelated to filetype. These can be either built into the server
- # or added with the Action directive (see below)
- #
- # To use CGI scripts outside of ScriptAliased directories:
- # (You will also need to add "ExecCGI" to the "Options" directive.)
- #
- AddHandler cgi-script .cgi .pl .asp
- # For type maps (negotiated resources):
- #AddHandler type-map var
- #
- # Filters allow you to process content before it is sent to the client.
- #
- # To parse .shtml files for server-side includes (SSI):
- # (You will also need to add "Includes" to the "Options" directive.)
- #
- AddType text/html .shtml
- AddOutputFilter INCLUDES .shtml
- </IfModule>
- <IfModule mime_magic_module>
- #
- # The mod_mime_magic module allows the server to use various hints from the
- # contents of the file itself to determine its type. The MIMEMagicFile
- # directive tells the module where the hint definitions are located.
- #
- MIMEMagicFile "conf/magic"
- </IfModule>
- #
- # Customizable error responses come in three flavors:
- # 1) plain text 2) local redirects 3) external redirects
- #
- # Some examples:
- #ErrorDocument 500 "The server made a boo boo."
- #ErrorDocument 404 /missing.html
- #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
- #ErrorDocument 402 http://localhost/subscription_info.html
- #
- #
- # EnableMMAP and EnableSendfile: On systems that support it,
- # memory-mapping or the sendfile syscall is used to deliver
- # files. This usually improves server performance, but must
- # be turned off when serving from networked-mounted
- # filesystems or if support for these functions is otherwise
- # broken on your system.
- #
- #EnableMMAP off
- #EnableSendfile off
- # Supplemental configuration
- #
- # The configuration files in the conf/extra/ directory can be
- # included to add extra features or to modify the default configuration of
- # the server, or you may simply copy their contents here and change as
- # necessary.
- # XAMPP specific settings
- Include "conf/extra/httpd-xampp.conf"
- # Server-pool management (MPM specific)
- Include "conf/extra/httpd-mpm.conf"
- # Multi-language error messages
- Include "conf/extra/httpd-multilang-errordoc.conf"
- # Fancy directory listings
- Include "conf/extra/httpd-autoindex.conf"
- # Language settings
- Include "conf/extra/httpd-languages.conf"
- # User home directories
- Include "conf/extra/httpd-userdir.conf"
- # Real-time info on requests and configuration
- Include "conf/extra/httpd-info.conf"
- # Virtual hosts
- Include "conf/extra/httpd-vhosts.conf"
- # Distributed authoring and versioning (WebDAV)
- # Attention! WEB_DAV is a security risk without a new userspecific configuration for a secure authentifcation
- # Include "conf/extra/httpd-dav.conf"
- # Implements a proxy/gateway for Apache.
- Include "conf/extra/httpd-proxy.conf"
- # Various default settings
- Include "conf/extra/httpd-default.conf"
- # Secure (SSL/TLS) connections
- Include "conf/extra/httpd-ssl.conf"
- #
- # Note: The following must must be present to support
- # starting without SSL on platforms with no /dev/random equivalent
- # but a statically compiled-in mod_ssl.
- #
- <IfModule ssl_module>
- SSLRandomSeed startup builtin
- SSLRandomSeed connect builtin
- </IfModule>
- # Configure mod_proxy_html to understand HTML4/XHTML1
- #<IfModule proxy_html_module>
- #Include etc/extra/proxy-html.conf
- #</IfModule>
- # AJP13 Proxy
- <IfModule mod_proxy.c>
- <IfModule mod_proxy_ajp.c>
- Include "conf/extra/httpd-ajp.conf"
- </IfModule>
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment