Forum Moderators: DixonJones
SetEnvIf HTTP_USER_AGENT "Googlebot-Image" dolog
CustomLog logs/googlebot-image_log common env=dolog
If that doesn't fully work, can you paste the relevant Apache log directive section from your current configuration as well as some sample data which you are testing against?
I cannot see any output with this configuration, if you have any idea... My httpd.conf is so basic, nothing special in there, but this is my config.nice:
# Created by configure
"./configure" \
"--prefix=/usr/local/apache" \
"--with-mpm=worker" \
"--disable-so" \
"--disable-cgi" \
"--disable-dav" \
"--disable-ssl" \
"--enable-log_config" \
"--enable-setenvif" \
"--disable-autoindex" \
"--disable-asis" \
"--disable-actions" \
"--disable-userdir" \
"--disable-alias" \
"--enable-headers" \
"--enable-rewrite" \
"$@"