diff options
author | Bob Beck <beck@cvs.openbsd.org> | 1999-03-01 01:07:30 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 1999-03-01 01:07:30 +0000 |
commit | 21d723c6847eebcff10c51f4ca9a9f2f90cdea59 (patch) | |
tree | f9556634aa856b074e95cf0e9aeff4b39f785ae5 /usr.sbin/httpd/conf/access.conf-dist | |
parent | 5376803c9e4a906a4befe58a0c30f3ed32f270bb (diff) |
Apache 1.3.4 merge
Diffstat (limited to 'usr.sbin/httpd/conf/access.conf-dist')
-rw-r--r-- | usr.sbin/httpd/conf/access.conf-dist | 103 |
1 files changed, 8 insertions, 95 deletions
diff --git a/usr.sbin/httpd/conf/access.conf-dist b/usr.sbin/httpd/conf/access.conf-dist index c965cdb7569..a38b11baced 100644 --- a/usr.sbin/httpd/conf/access.conf-dist +++ b/usr.sbin/httpd/conf/access.conf-dist @@ -1,95 +1,8 @@ -# 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 - -# First, we configure the "default" to be a very restrictive set of -# permissions. - -<Directory /> -Options FollowSymLinks -AllowOverride None -</Directory> - -# Note that from this point forward you must specifically allow -# particular features to be enabled - so if something's not working as -# you might expect, make sure that you have specifically enabled it -# below. - -# This should be changed to whatever you set DocumentRoot to. - -<Directory "@@ServerRoot@@/htdocs"> - -# 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. - -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> - -# @@ServerRoot@@/cgi-bin should be changed to whatever your ScriptAliased -# CGI directory exists, if you have that configured. - -<Directory "@@ServerRoot@@/cgi-bin"> -AllowOverride None -Options None -</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 remote server configuration reports, with the URL of -# http://servername/server-info (requires that mod_info.c be loaded). -# 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> - -# There have been reports of people trying to abuse an old bug from pre-1.1 -# days. This bug involved a CGI script distributed as a part of Apache. -# By uncommenting these lines you can redirect these attacks to a logging -# script on phf.apache.org. Or, you can record them yourself, using the script -# support/phf_abuse_log.cgi. - -#<Location /cgi-bin/phf*> -#deny from all -#ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi -#</Location> - -# You may place any other directories or locations you wish to have -# access information for after this one. - +# +# This is the default file for the AccessConfig directive in httpd.conf. +# It is processed after httpd.conf and srm.conf. +# +# To avoid confusion, it is recommended that you put all of your +# Apache server directives into the httpd.conf file and leave this +# one essentially empty. +# |