Forum Moderators: phranque

Message Too Old, No Replies

Filtering certain domains in the customlog

How to *exclude* our own domain?

         

craig1972

8:46 pm on Apr 18, 2009 (gmt 0)

10+ Year Member



Hi. I have a CustomLog directive in Apache right now.

This is working, but it is also logging my own IP address! Is there a way of NOT logging whenever my own IP shows up?

EDIT:
Sorry, answered my own question with "Conditional Logs" example at [httpd.apache.org...]

[edited by: coopster at 6:35 pm (utc) on April 19, 2009]
[edit reason] revised link to apache.org domain [/edit]

coopster

6:36 pm on Apr 19, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Good for you, glad you figured it out and thanks for sharing the answer.