2eNetWorX :: Development Community with Tutorial, Script, Code, Programming sections for Visual Basic, Active Server Pages and .Net Framework Developers.  

StatCounteX Install Guide Article - 2eNetWorX


Article for StatCounteX.

 
  2eNetWorX :: ASP, VB, Asp.Net, Vb.Net, C#, dotNet, .Net OpenSource Projects
MyDev What's New | Projects | Tutorials & Articles | Services | Stats | Contact Us
Guest-00124    /dev :: home :: projects :: statcountex :: readings  41 online visitors
Popular Projects

  • TableEditor
  • StatCounteX
  • 2eNetWorX/Dev
  • MiniSurvey
  • OpenForum
  • PowerTool
  • ShopEZ
  • Trans-It
  • HiLiteR
  • (View All Projects)


    Top 10

    » Contributions


    Tutorials & Articles

    » Recordset Cache
    » OpenSource
    » Statisticus
    » OpenCYA!


    Code Samples

    » Undocumented...
    » Ask For Login
    » DSN'less Connection
    » Who's Online?
    » (All Samples)


    Link Back



    Site Banner


  • 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?




    Who's Online

     Bot: Google
     Bot: Msn
     (36) guests
     (3) repeated

    How is this done?


    Popular Web Sites

      FogBugz Hosting Plans
      SubVersion Hosting Plans
      SourceGear Vault
      Hosting Plans

      Note Thing - A Perfect
      To-Do List Software
      .net Localization
      components from SWBOX

      Mary Kay Products

    Admin's Toolbox

    Web Database Management
    Web Site Statistics
    Survey Manager
    Integrated forum for webpages
    OpenSource WebSite Framework


      privacy policy , license , disclaimer , © 2000-2004, 2eNetWorX.   [page generated in 12 ms.]