StatCounteX : Install Guide
1. Database Location
Open config.asp, find the line:
cDBStats = "stats.mdb"
This line specifies the location of your database. You should place
your database file in a secure folder. "Secure" means the folder
permissions should be set such that the ASP files will have full
read/write rights whereas the visitors are not allowed to access.
(Not an SSL secure folder which is required for secure transactions.)
For example, if your secure folder is /securedata, change this line to:
cDBStats = "/securedata/stats.mdb"
If you keep the file in the same folder with StatCounteX files,
StatCounteX works anyway but the visitors who know (or guess) the path
and name of your Mdb file will be able to download it directly.
(Actually, this warning applies to all of your Mdb files.)
2. StatCounteX folder
Create a folder where you will use StatCounteX, by default it's
"statcountex" folder under the root folder. (/statcountex).
If you don't want to use /statcountex folder, make the following
modifications:
Open countcode.txt, find the line:
var file='/statcountex/count.asp';
For example, if your StatCounteX folder is /tools/counter, change
this line to:
var file='/tools/counter/count.asp';
Note that the location starts from the root folder /.
3. Files to be counted
After making the modifications (if any), open countcode.txt, select
all the contents and paste them into the place in your html code
where the counter image will be displayed.
(See issues and considerations if you intend to make more modifications.)
4. Configuration Switches
(See config.asp for more explanations.)
bRefThisServer = False
Count your own server as referer?
bStripPathParameters = True
Strip off the parameters from the path name?
bStripPathProtocol = True
Strip off the protocol from the path name?
bStripRefParameters = True
Strip off the parameters from the referer name?
bStripRefProtocol = True
Strip off the protocol from the referer name?
bStripRefFile = False
Strip off the path and file name from the referer name?
|