Red Hat LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE Guida di Installazione Pagina 194

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 193
194 Chapter 15. Apache
# AuthType Basic
# AuthName Temporary
# AuthUserFile /etc/httpd/conf/passwd
# EnableDelete Off
# umask 007
#
Limit PUT
# require valid-user
# /Limit
# /Location
You will also need to uncomment the following lines at the beginning of httpd.conf so that the
mod_put module is loaded when Apache starts:
#LoadModule put_module modules/mod_put.so
#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.
Vedere la pagina 193
1 2 ... 189 190 191 192 193 194 195 196 197 198 199 ... 281 282

Commenti su questo manuale

Nessun commento