• 1-888-289-2246
  • 24x7x365 Presence

A script to update Modlogon manually on the H-Sphere Linux server


You may update the Modlogan stats by running this command on the web server:

/hsphere/shared/bin/sudo -u USERNAME /bin/sh -c “cat /hsphere/local/home/USERNAME/logs/DOMAIN.COM/DOMAIN.COM.XXXXXXXX |/hsphere/shared/bin/modlogan -c /hsphere/local/config/httpd/modlogan/DOMAIN.COM.conf”

where:
USERNAME – FTP user login
DOMAIN.COM – domain name
..logs/DOMAIN.COM/DOMAIN.COM.XXXXXXXX – path to log file

]]>


Leave a Reply

Your email address will not be published. Required fields are marked *