
2.4 access.conf 33
Your/home/httpd/cgi-bin directoryhasOptions ExecCGI set,
meaning thatexecution of CGI scriptsis permitted within that direc-
tory.
AllowOverride The AllowOverride directive sets whether or not any
Options canbeoverriddenby the declarationsin a .htaccess file.
By default,all of the directories set up in your access.conf are set
up to allow no .htaccess overrides.
order Theorder directivesimply controlstheorderinwhich allow and
deny directives are evaluated. Your server is configured to evaluate
the allow directives before the deny directives for your
/home/httpd/html directory.
allow allow specifies which requester can access a given directory. The
requester can be all, a domain name, an IP address, a partial IP
address, a network/netmask pair, etc. Your /home/httpd/html
directory is configured to allow requests from all (i.e., anyone).
Location <Location> and </Location> tags allow you to specify ac-
cess control based on the URL. For example, by default your web
server allows a <Location> directive which redirects any requests
which end in /cgi-bin/phf* to a logging cgi run by the Apache
group.
Another<Location> optioniscommentedoutin youraccess.conf
file. If youwant toallow peopleconnecting fromyour domainto see
server status reports, you should uncomment the following lines:
#<Location /server-status>
#SetHandler server-status
#order deny,allow
#deny from all
#allow from .yourdomain.com
#</Location>
You also need to replace.yourdomain.com with your second level
domain name.
Komentáře k této Příručce