Differences
This shows you the differences between two versions of the page.
software:apache [2011/01/26 13:13] cyril |
software:apache [2013/09/19 16:40] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Apache ====== | ||
- | ===== Don't log yourself ===== | ||
- | |||
- | You can exclude your IP addresses or/and the specific user agent of your browsers : | ||
- | |||
- | < | ||
- | SetEnvIf Remote_Addr " | ||
- | SetEnvIf Remote_Addr " | ||
- | SetEnvIf User-Agent " | ||
- | |||
- | CustomLog ${APACHE_LOG_DIR}/ | ||
- | </ | ||
- | |||
- | You can customize you user agent in Firefox by setting the key // | ||
- | |||
- | With this method you can also avoid logging robots or some pages, but if you use a good and well configured log parser (like awstats) it will do this job (even for your IP addresses, but not for the user agent). |