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 Manage a Virtual Directory in Plesk

It is pretty easy to modify the virtual directory in Plesk. And so, in this…

How Can you Change the SSH port.html

In this article, we will explain what SSH is and how to modify the SSH…

How to Delete Files and Directories on Linux

This guide explains how to delete files and directories on a Linux system using command-line…