212
#LoadModule put_module
#AddModule mod_put.c
If you want to allow people connecting from your domain to see server status reports, you should
uncomment the next section of directives:
#<Location /server-status>
#
SetHandler server-status
#
Order deny,allow
#
Deny from all
#
Allow from .your_domain.com
#</Location>
You must replace .your_domain.com with your second level domain name.
If you want to provide server configuration reports (including installed modules and configuration
directives) to requests from inside your domain, you will need to uncomment the following lines:
#<Location /server-info>
#
SetHandler server-info
#
Order deny,allow
#
Deny from all
#
Allow from .your_domain.com
#</Location>
Again, you must fill in .your_domain.com.
The next section of directives use Location tags to allow access to the documentation in
/usr/share/doc (for example, with a URL like http://your_domain/doc/whatever.html). These
directives only allow this access to requests made from the localhost.
Another use of the Location tags is a commented-out section which is intended to track attacks
on your Web server which exploit an old bug from pre-Apache 1.1 days. If you want to track these
requests, uncomment the following lines:
#<Location /cgi-bin/phf*>
#
Deny from all
#
ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
#</Location>
If these lines are uncommented, your Web server will redirect any requests which end in /cgi-
bin/phf* to a logging CGI script run by the Apache Group.
13.3.72 ProxyRequests
If you uncomment the IfModule tags surrounding the ProxyRequests directives, your Apache
server will also function as a proxy server. You will also need to load the mod_proxy module. For
instructions on how to load in modules, see Section 13.4, Adding Modules to Your Server.
modules/mod_put.so
Chapter 13:Apache
Need help?
Do you have a question about the LINUX 7.2 and is the answer not in the manual?