Apache access-log für einen VHost deaktivieren

Apache, Lighttpd, nginx, Cherokee
Post Reply
s20
Posts: 98
Joined: 2002-10-10 20:47
 

Apache access-log für einen VHost deaktivieren

Post by s20 »

Hallo,

gibt es eine Möglichkeit den apache access-log für einen virtual host zu deaktivieren?

danke
s20
static
Posts: 437
Joined: 2002-10-27 19:56
Location: Schweiz
 

Re: Apache access-log für einen VHost deaktivieren

Post by static »

Hi,
http://httpd.apache.org/docs/logs.html#accesslog vielleicht einfach nach /dev/null schreiben?

[edit]
mit SetEnv und dontlog (-> siehe http://httpd.apache.org/docs/mod/mod_env.html#setenv und http://httpd.apache.org/docs/logs.html#conditional) dürfte es evtl. auch gehen
[/edit]

.static
s20
Posts: 98
Joined: 2002-10-10 20:47
 

Re: Apache access-log für einen VHost deaktivieren

Post by s20 »

prima, hab vielen dank.
Post Reply