Differences

This shows you the differences between two versions of the page.

Link to this comparison view

software:apache [2011/01/25 11:02]
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 : 
- 
-<code> 
-SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog 
-SetEnvIf Remote_Addr "192\.168\.1\.4" dontlog 
-SetEnvIf User-Agent "meandmyself" dontlog 
- 
-CustomLog ${APACHE_LOG_DIR}/mysite.fr-access.log combined env=!dontlog 
-</code> 
- 
-You can customize you user agent in Firefox by setting the key //general.useragent.override// in about:config. You can check your user agent with a website like [[http://whatsmyuseragent.com/]]. 
- 
-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). 
software/apache.txt ยท Last modified: 2013/09/19 16:40 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0