Apache Technologies 14 Manual de usuario Pagina 40

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 83
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 39
40 Chapter 3 Managing Websites
If you are administering a remote server, file service must be running on the remote
server to use the Browse button.
7 Choose a log format from the Format pop-up menu.
8 Edit the format string, if necessary.
Note: The Help button next to the format string opens the Apache documentation
web page (http://httpd.apache.org/docs/mod/mod_log_config.html#formats), which
explains the parameters for format strings.
9 Enter archive, location, and level choices for the error log as desired.
10 Click Save.
Considerations for Naming Website Logs
You have the option of naming separate logs for multiple websites. If you have many
virtual sites on your server, include the virtual host name in the log name for easy
recognition of the logs.
If you have just two virtual hosts, you may want to use a single log (with the default
name the server uses).
Analyzing Log Content
You can search the contents of a log by typing a search term in the Filter field.
You can also use various third-party tools to analyze logs of web server activity. One
useful application is Analog, which can be downloaded free from www.analog.cx.
Using a Log to Detect Suspicious Activity
In some instances, you may discover virus activity by studying a sites log. For example,
an unusual entry such as “winNT.<xxx>” may indicate that a virus is trying to propagate
itself.
Some warning messages in a log are benign; some are not.
Understanding the Web Service access_log Format
In version 10.4 of Mac OS X Server, the web performance cache does not prevent a
remote client’s IP address from being logged in the access_log. The web performance
cache process now adds an HTTP header named “PC-Remote-Addr” that contains the
client’s IP address before passing a request to the Apache web server.
With the performance cache disabled, the standard log format string on the
CustomLog directive in httpd.conf remains the same as in earlier versions:
%h %l %u %t "%r" %>s %b
Vista de pagina 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 82 83

Comentarios a estos manuales

Sin comentarios