Annotation of doc/install/linux/sles-suse/apache2.4/default-server.conf, revision 1.1

1.1     ! raeburn     1: #
        !             2: # Global configuration that will be applicable for all virtual hosts, unless
        !             3: # deleted here, or overriden elswhere.
        !             4: # 
        !             5: 
        !             6: DocumentRoot "/home/httpd/html"
        !             7: 
        !             8: #
        !             9: # Configure the DocumentRoot
        !            10: #
        !            11: <Directory "/home/httpd/html">
        !            12: 	# Possible values for the Options directive are "None", "All",
        !            13: 	# or any combination of:
        !            14: 	#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
        !            15: 	#
        !            16: 	# Note that "MultiViews" must be named *explicitly* --- "Options All"
        !            17: 	# doesn't give it to you.
        !            18: 	#
        !            19: 	# The Options directive is both complicated and important.  Please see
        !            20: 	# http://httpd.apache.org/docs/2.4/mod/core.html#options
        !            21: 	# for more information.
        !            22: 	# NOTE: For directories where RewriteRule is used, FollowSymLinks
        !            23: 	# or SymLinksIfOwnerMatch needs to be set in Options directive.
        !            24: 	Options None
        !            25: 	# AllowOverride controls what directives may be placed in .htaccess files.
        !            26: 	# It can be "All", "None", or any combination of the keywords:
        !            27: 	#   Options FileInfo AuthConfig Limit
        !            28: 	AllowOverride None
        !            29: 	# Controls who can get stuff from this server.
        !            30: 	<IfModule !mod_access_compat.c>
        !            31: 		Require all granted
        !            32: 	</IfModule>
        !            33: 	<IfModule mod_access_compat.c>
        !            34: 		Order allow,deny
        !            35: 		Allow from all
        !            36: 	</IfModule>
        !            37: </Directory>
        !            38: 
        !            39: # Aliases: aliases can be added as needed (with no limit). The format is 
        !            40: # Alias fakename realname
        !            41: #
        !            42: # Note that if you include a trailing / on fakename then the server will
        !            43: # require it to be present in the URL.  So "/icons" isn't aliased in this
        !            44: # example, only "/icons/".  If the fakename is slash-terminated, then the 
        !            45: # realname must also be slash terminated, and if the fakename omits the 
        !            46: # trailing slash, the realname must also omit it.
        !            47: #
        !            48: # We include the /icons/ alias for FancyIndexed directory listings.  If you
        !            49: # do not use FancyIndexing, you may comment this out.
        !            50: #
        !            51: Alias /icons/ "/usr/share/apache2/icons/"
        !            52: 
        !            53: <Directory "/usr/share/apache2/icons">
        !            54: 	Options Indexes MultiViews
        !            55: 	AllowOverride None
        !            56: 	<IfModule !mod_access_compat.c>
        !            57: 		Require all granted
        !            58: 	</IfModule>
        !            59: 	<IfModule mod_access_compat.c>
        !            60: 		Order allow,deny
        !            61: 		Allow from all
        !            62: 	</IfModule>
        !            63: </Directory>
        !            64: 
        !            65: # ScriptAlias: This controls which directories contain server scripts.
        !            66: # ScriptAliases are essentially the same as Aliases, except that
        !            67: # documents in the realname directory are treated as applications and
        !            68: # run by the server when requested rather than as documents sent to the client.
        !            69: # The same rules about trailing "/" apply to ScriptAlias directives as to
        !            70: # Alias.
        !            71: #
        !            72: #ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
        !            73: 
        !            74: # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased
        !            75: # CGI directory exists, if you have that configured.
        !            76: #
        !            77: #<Directory "/home/httpd/cgi-bin/">
        !            78: #	AllowOverride None
        !            79: #	Options +ExecCGI -Includes
        !            80: #	<IfModule !mod_access_compat.c>
        !            81: #		Require all granted
        !            82: #	</IfModule>
        !            83: #	<IfModule mod_access_compat.c>
        !            84: #		Order allow,deny
        !            85: #		Allow from all
        !            86: #	</IfModule>
        !            87: #</Directory>
        !            88: 
        !            89: # UserDir: The name of the directory that is appended onto a user's home
        !            90: # directory if a ~user request is received.
        !            91: #
        !            92: # To disable it, simply remove userdir from the list of modules in APACHE_MODULES 
        !            93: # in /etc/sysconfig/apache2.
        !            94: #
        !            95: <IfModule mod_userdir.c>
        !            96: 	# Note that the name of the user directory ("public_html") cannot simply be
        !            97: 	# changed here, since it is a compile time setting. The apache package
        !            98: 	# would have to be rebuilt. You could work around by deleting
        !            99: 	# /usr/sbin/suexec, but then all scripts from the directories would be
        !           100: 	# executed with the UID of the webserver.
        !           101: 	UserDir public_html
        !           102: 	# The actual configuration of the directory is in
        !           103: 	# /etc/apache2/mod_userdir.conf.
        !           104: 	Include /etc/apache2/mod_userdir.conf
        !           105: 	# You can, however, change the ~ if you find it awkward, by mapping e.g.
        !           106: 	# http://www.example.com/users/karl-heinz/ --> /home/karl-heinz/public_html/ 
        !           107: 	#AliasMatch ^/users/([a-zA-Z0-9-_.]*)/?(.*) /home/$1/public_html/$2
        !           108: </IfModule>
        !           109: 
        !           110: 
        !           111: # Include all *.conf files from /etc/apache2/conf.d/.
        !           112: #
        !           113: # This is mostly meant as a place for other RPM packages to drop in their
        !           114: # configuration snippet.
        !           115: #
        !           116: # You can comment this out here if you want those bits include only in a
        !           117: # certain virtual host, but not here.
        !           118: #
        !           119: #IncludeOptional /etc/apache2/conf.d/*.conf
        !           120: 
        !           121: # The manual... if it is installed ('?' means it won't complain)
        !           122: #IncludeOptional /etc/apache2/conf.d/apache2-manual?conf
        !           123: 
        !           124: Include /etc/apache2/loncapa_apache.conf
        !           125: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>