Commands for fixing the Webalizer stats under Hsphere: Webalizer for Windows

==================

Follow the steps when Webalizer does not work for Windows:

  1. In the IIS, select the domain name for which Webalizer is not working.
  2. Go to properties and change the log format to NCSA “Combined log format”
  3. ChatGPT said: Go to the corresponding log folder of the domain in the “hslogfiles’ folder and delete all the previous log files you generated. Visit the site twice, and generate a new log file.
  4. Now, on the command line, change the directory to c://webalizer

    at c://webalizer >, fire the command,

    Webalizer -n domainame -o E://hshome/username/domainname/Webalizer E://hslogfiles/logfile name

    * -n — domain name for which Webalizer is not working.
    * -o — path to the directory where the Webalizer generates the output.
    * name of the log file which should used to generate the website statistics.

    It is the name of the file that you generated in step 3.

    Webalizer is not working for UNIX plans.
    ==========================

    Fire the command on the shell prompt.

    /hsphere/shared/bin/webalizer -n domainname -o hsphere/local/home/username/domainname/webalizer
    /hsphere/local/home/username/logs/domain/name of the most recent log file

If the stats of the current month do not generate,

  1. Open the file /hsphere/shared/apache/conf/rotatelog.cfg and add the entry for the domain for which stats are not getting generated for the current month.
  2. Restart Apache
  3. Visit the site twice, and a new log file of the current month gets generated.
  4. Fire the command on the shell,
    /hsphere/shared/bin/webalizer -n domainname -o hsphere/local/home/username/domainname/webalizer
    /hsphere/local/home/username/logs/domain/name of the most recent log file.

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

How to Update Database Administrator Password in Plesk?

Plesk is a Web safety control panel that is both innovative and user-friendly. It’s a…

IP Drop-Down List in IIS While Creating/Assigning

If you check the properties of a Site in IIS, you can find that the…

How to Convert a Name-Based Site to an IP-Based Site

For name-based sites in web hosting environments, websites can be configured either as name-based sites…