pwebstats: page config examples/(index.html)?:Server Home Page:0:/ /cgi-bin/.+:CGI Scripts/Programs run by this server:0 The first line matches either http://your.site/ or
http://your.site/index.html. A blank line can be inserted in the output with the following line: --:--:0 Q. I have a page with two names. How do I add the hits together? A. The / at the start of the match pattern is part of the match pattern, not the pattern match delimiter. If the multiple names for your home document are /, index.htm and Welcome.htm, the names listed in the log file are /, /index.htm and /Welcome.htm. Possible match patterns would be: 1. /(index.htm)?(Welcome.htm)? 2. /|/index.htm|/Welcome.htm 3. /(index.htm|Welcome.htm)? Match pattern 1 will match a '/' plus zero or more occurrences of 'index.htm'
plus zero or more occurrences of 'Welcome.htm'. All patterns are functionally equivalent in this instance. So, to aggregate hits for your home page, the line in pwebstats.pages should read: /(index.htm|Welcome.htm)?:My Home Page:0:/ (Just be careful not to confuse index.htm| with index.html) |
|
|
Created: 18 May 1995 |