[Précédent (date)] [Suivant (date)] [Précédent (sujet)] [Suivant (sujet)] [Index par date] [Index par sujet]
access.conf
- To:
- Subject: access.conf
- From: Benoit Galarneau <>
- Date: Thu, 16 Aug 2001 09:17:32 -0400 (EDT)
-
In-reply-to: <[email protected]>
# access.conf: Global access configuration
# Online docs at http://www.apache.org/
# This file defines server settings which affect which types of services
# are allowed, and in what circumstances.
# Each directory to which Apache has access, can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
# Originally by Rob McCool
# This should be changed to whatever you set DocumentRoot to.
<Directory /var/www>
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you (or at least, not yet).
Options Indexes FollowSymLinks
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#AllowOverride None
# Controls who can get stuff from this server.
order allow,deny
allow from all
</Directory>
# /usr/lib/cgi-bin should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
<Directory /usr/lib/cgi-bin>
AllowOverride None
Options ExecCGI FollowSymLinks
</Directory>
# Allow server status reports, with the URL of http://servername/server-status
# Change the ".your_domain.com" to match your domain to enable.
#<Location /server-status>
#SetHandler server-status
#order deny,allow
#deny from all
#allow from .your_domain.com
#</Location>
# Allow server info reports, with the URL of http://servername/server-info
# Change the ".your_domain.com" to match your domain to enable.
#<Location /server-info>
#SetHandler server-info
#order deny,allow
#deny from all
#allow from .your_domain.com
#</Location>
# Debian Policy assumes /usr/doc is "/doc/", at least from the localhost.
<Directory /usr/doc>
Options Indexes FollowSymLinks
AllowOverride None
order deny,allow
deny from all
allow from localhost
</Directory>
# This sets the viewable location of the mod_throttle status display.
#
# <location /throttle-info>
# SetHandler throttle-info
# </location>
# Do not allow users to browse foreign files using symlinks in
# their private webspace public_html.
# Note: This should be changed if you modify the UserDir-Option.
# We would really like to use LocationMatch but the Option we want
# is ignored with that directive.
<DirectoryMatch ^/home/.*/public_html>
Options Indexes SymLinksIfOwnerMatch
AllowOverride None
</DirectoryMatch>
# Do not allow retrieval of the override files, a standard security measure.
<Files .htaccess>
order allow,deny
deny from all
</Files>
# You may place any other directories or locations you wish to have
# access information for after this one.