{"id":16805241,"url":"https://github.com/chuckhoupt/awstats-dh","last_synced_at":"2025-11-05T09:30:26.874Z","repository":{"id":145950243,"uuid":"148933000","full_name":"chuckhoupt/awstats-dh","owner":"chuckhoupt","description":"An easy to setup packaging of AWStats and AWStats-Totals for use on DreamHost","archived":false,"fork":false,"pushed_at":"2024-08-13T14:58:00.000Z","size":48,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-13T18:01:49.247Z","etag":null,"topics":["analytics","awstats","dreamhost","web-analytics","web-statistics"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chuckhoupt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-15T19:24:05.000Z","updated_at":"2024-08-13T14:58:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e0c665a-0964-4896-afdd-99a8ea42b0bf","html_url":"https://github.com/chuckhoupt/awstats-dh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuckhoupt%2Fawstats-dh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuckhoupt%2Fawstats-dh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuckhoupt%2Fawstats-dh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuckhoupt%2Fawstats-dh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chuckhoupt","download_url":"https://codeload.github.com/chuckhoupt/awstats-dh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219853392,"owners_count":16556199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analytics","awstats","dreamhost","web-analytics","web-statistics"],"created_at":"2024-10-13T09:47:35.123Z","updated_at":"2025-11-05T09:30:26.838Z","avatar_url":"https://github.com/chuckhoupt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"AWStats for DreamHost\n=====================\n\nAn easy to setup packaging of AWStats and AWStats-Totals for use on\nDreamHost web-hosting services (shared or managed VPS).\n\nInstallation\n------------\n\nAWStats-DH can be installed anywhere on a web site, and it will generate\nstats for all sites hosted under the same shell user. To install AWStats-DH on the site `example.com`, SSH login to\nthe shell user (`ssh user@example.com`), and then perform the following setup.\n\n- **Download**\n\n  Clone AWStats-DH into `example.com`'s web directory:\n\n  ```\n  git clone --recurse-submodules https://github.com/chuckhoupt/awstats-dh.git example.com/awstats-dh\n  ```\n\n- **Build Initial Statistics**\n\n   Run the update script to generate the initial reports:\n\n   ```\n   ~/example.com/awstats-dh/update-awstats\n   ```\n\nNow visit `example.com/awstats-dh/` to see the stats for all sites hosted\nunder that shell user.\n\nFurther Configuration\n---------------------\n\n- **Install Cron Job**\n\n  To update the reports daily, install a cron job:\n\n   ```\n   @daily example.com/awstats-dh/cronic example.com/awstats-dh/update-awstats day\n   ```\n\n- **Secure Reports**\n\n   Setup password protection for the `awstats-dh` directory via [DH's Htaccess Panel](https://panel.dreamhost.com/index.cgi?tree=advanced.webdav\u0026).\n\n- **Upgrade AWStats-DH**\n\n   To upgrade to the latest version of AWStats-DH, pull from repository:\n\n   ```\n   git pull --recurse-submodules\n   ```\n\nTroubleshooting\n---------------\n\n- **`update-awstats` fails or only partially updates stats**\n\n  By default, the `update-awstats` script process all available active logs (typically 3-30 days per site). If your shell user has a large number of sites, or very large logs, the script may be killed for excessive resource usage (on shared hosting). To avoid this problem, run the script with the `day` argument:\n  \n  ```\n  ~/example.com/awstats-dh/update-awstats day\n  ```\n  \n  In this mode, the script only looks at uncompressed log files for the last 24-48 hours (`access.log` and `access.log.0`), so it is faster and users fewer resources.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuckhoupt%2Fawstats-dh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchuckhoupt%2Fawstats-dh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuckhoupt%2Fawstats-dh/lists"}