Commit a84f0f42 authored by Vincent Pelletier's avatar Vincent Pelletier

Update README with regex URL base examples.

parent e66a83f1
...@@ -102,15 +102,16 @@ Generate stand-alone output (suitable for inclusion in a mail, for example):: ...@@ -102,15 +102,16 @@ Generate stand-alone output (suitable for inclusion in a mail, for example)::
A log file with requests for 2 websites for which individual stats are A log file with requests for 2 websites for which individual stats are
desired, and hits outside those base urls are ignored:: desired, and hits outside those base urls are ignored::
apachedex --base /site1 /site2 apachedex --base "/site1(/|$|\?)" "/site2(/|$|\?)"
A log file with a site section to ignore. Order does not matter:: A log file with a site section to ignore. Order does not matter::
apachedex --skip-base /ignored --default website apachedex --skip-base "/ignored(/|$|\?)" --default website
A mix of both above examples. Order matters !:: A mix of both above examples. Order matters !::
apachedex --skip-base /site1/ignored --base /site1 /site2 apachedex --skip-base "/site1/ignored(/|$|\?)"
--base "/site1(/|$|\?)" "/site2(/|$|\?)"
Notes Notes
===== =====
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment