summaryrefslogtreecommitdiffstats
path: root/security/ossec-hids-local-config/files/template-logs-apache.xml.in
blob: b88ed1a446a4f6e9c70f9e6d1aa4ff719cf884f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<template_config os="FreeBSD" profile="%%LOGS_APACHE_PROFILE%%">

  <localfile>
    <log_format>apache</log_format>
    <location>/var/log/httpd-error.log</location>
  </localfile>

  <localfile>
    <log_format>apache</log_format>
    <location>/var/log/httpd-access.log</location>
  </localfile>

</template_config>

<template_config os="Linux" profile="%%LOGS_APACHE_PROFILE%%">

  <localfile>
    <log_format>apache</log_format>
    <location>/var/log/apache2/error.log</location>
  </localfile>

  <localfile>
    <log_format>apache</log_format>
    <location>/var/log/apache2/access.log</location>
  </localfile>

</template_config>