Browse Source

be more flexible and allow global access.log to be ignored

Ralf S. Engelschall 23 years ago
parent
commit
acde8cd922
2 changed files with 2 additions and 2 deletions
  1. 1 1
      apache/apache.base
  2. 1 1
      apache/apache.spec

+ 1 - 1
apache/apache.base

@@ -39,7 +39,7 @@ LogFormat              "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent
 LogFormat              "%h %l %u %t \"%r\" %>s %b" common
 LogFormat              "%{Referer}i -> %U" referer
 LogFormat              "%{User-agent}i" agent
-CustomLog              @l_prefix@/var/apache/log/access.log common
+CustomLog              @l_prefix@/var/apache/log/access.log common env=!ignore_global_access
 
 #   error logging
 LogLevel               warn

+ 1 - 1
apache/apache.spec

@@ -60,7 +60,7 @@ Distribution: OpenPKG [BASE]
 Group:        Web
 License:      ASF
 Version:      %{V_apache}
-Release:      20030729
+Release:      20030731
 
 #   package options (suexec related)
 %option       with_suexec               yes