summaryrefslogblamecommitdiff
path: root/user/apache-httpd/conf/host.conf
blob: 1c5902a7002851d2d9ed44df37473e10252ee3e8 (plain) (tree)




































                                                                            
# This is a sample configuration. Please read the documentation provided
# by the Apache HTTP server for information on how to modify this file.
#
# Note that these settings are normally defined in a <VirtualHost> block.
# This is omitted here in order to allow users to confirm that Apache works
# before they start poking around with site-specific configuration.

# This is the directory in which Apache looks for files to serve. Generally,
# documents should be located in /srv, using either of the following example
# hierarchies:
#
# /srv/
# `-> www/ -- the protocol; 'www' is used here for both HTTP and HTTPS.
#     `-> localhost/ -- the domain name
#
# For systems serving many disparate groups, you may try the following:
# /srv/
# `-> groupname/ -- for instance, 'physics' or 'chemistry' or 'history'
#     `-> www/
#       `-> localhost/
#
# We use /var/www here because /srv is intended for sysadmin (that is, you,
# the person reading this document) use.
DocumentRoot /var/www/localhost

<Directory /var/www/localhost>
# Some configuration options that don't really go anywhere else.
# Here, we want empty directories to have an index generated for them
# ('Indexes') and for symlinks to be followed only if the owner of the
# directory matches the owner of the target.
Options Indexes SymLinksifOwnerMatch

# Don't allow .htaccess files to override these settings.
AllowOverride None

# Grants access if an authentication system is loaded (not the default).
Require all granted
</Directory>