tags:

views:

12

answers:

0

Hello SO folks,

I would like to log images to a seperate file on the server for all domains.

This works:

CustomLog logs/host1-access-log combined env=!image  
CustomLog logs/image-access-log combined env=image

But it is necessary to add this to each and every vhost. This quickly becomes a problem when you have 24710 hosts.

I don't have them :) but is it possible to get by with a single Customlog directive since all images are logged in the same file?

Apache 2.2.2

Thanks!

Maria