Hi, I am a newbie and need help setting filter on my urldetail output report. What I need is to have a report on several pages only. In the instructions it says: "filter can be a regexp on the full key you want awstats to present information about". How do I separate my keys - e.g., I want a report containing the following pages:
index.html, documents.html and idl.cgi?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I am a newbie and need help setting filter on my urldetail output report. What I need is to have a report on several pages only. In the instructions it says: "filter can be a regexp on the full key you want awstats to present information about". How do I separate my keys - e.g., I want a report containing the following pages:
index.html, documents.html and idl.cgi?
Thanks.
Do this:
^(index.html|documents.html|idl.gi)
Should work fine.
Alternatively you could search for .html and .cgi
^(.html|.cgi)
Have a look at this site, it's an excellent tutorial on regex:
http://www.regular-expressions.info/tutorial.html