使用单一安装在同一服务器上的多个域的 AWStats

发布于 2024-09-07 04:22:57 字数 266 浏览 1 评论 0原文

我试图确定如何为服务器服务器上的多个站点设置 AWStats。理想情况下,我会访问 stats.mydomain.com 并能够查看服务器上任何站点的 awstats。也就是说,我不想设置 stats.domain1.com、stats.domain2.com,广告恶心。是否可以创建一个位置,然后通过表单选择在域之间切换。我觉得我以前见过这个,但没有找到任何网络参考。

我知道我仍然需要设置 cron 作业、日志文件等来单独生成每个域。对我来说,集中观看很重要。

任何方向将不胜感激。

I'm try to determine how to setting up AWStats for multiple sites on the server server. Ideally I would go to stats.mydomain.com and be able to see awstats for any site on my server. That is to say I don't want to have to set up stats.domain1.com, stats.domain2.com, ad nausea. Is it possible to create a single location and then switch between domains with via a form select. I feel I have seen this before, but have not found any web references.

I understand that I would need to still set up cron jobs, log files, etc to generate each domain individually. It's the centralized viewing that's important to me.

Any direction would be appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

仅一夜美梦 2024-09-14 04:22:57

您可能必须自己创建域选择表单,但了解 awstats.plconfig=my.domain.name 识别为参数可能会有所帮助,因此您可以使用类似 http://stats.mydomain.com/awstats/awstats.pl?config=another.domain.com 的内容来查看一个站点上各个域的统计信息。

You'd probably have to create the domain selection form yourself, but maybe it helps to know that awstats.pl recognizes config=my.domain.name as an argument, so you can use something like http://stats.mydomain.com/awstats/awstats.pl?config=another.domain.com to see stats of various domains on one site.

世界如花海般美丽 2024-09-14 04:22:57

我已经有几年没有关注 AWStats 了,但仍然有一些安装。

一般来说,您可以在 apache 中设置一个相当基本的 VirtualHost 或 ScriptAlias 类型的东西(指向磁盘上相同的 awstats 目录),然后复制调整某种 awstats.sitetemplate.conf 文件,然后向某个脚本添加一行由 cron 调用来处理统计信息。

如今可能有更好的方法......上述方法并不完全痛苦,但也不完全无痛。

但据我所知,这是你能做的最好的事情。

我会关注这个帖子,看看其他人是否有更好的答案。

I haven't kept up with AWStats for a couple of years, but still have some installs sticking around.

Generally, you can set up a fairly basic VirtualHost or ScriptAlias type thing in apache (pointing at the same awstats dir on disk), and then copy tweak some kind of awstats.sitetemplate.conf file, and then add a line to some script that gets called by cron to process stats.

There may be a better way these days ... the above is not exactly painful, but not exactly painless.

But AFAIK, that's the best you can do.

I'll be watching the thread to see if anyone else has a better answer.

格子衫的從容 2024-09-14 04:22:57

最简单的方法是使用 webmin 和 awstats webmin 模块在 ceterlize 服务器中创建和管理多个域(当然需要使用某种文件传输)。

如果您无法安装 webmin,您可以创建一个简单的 Web UI 来管理多域日志分析(我已经部署并使用了它)

The simplest way is use webmin and awstats webmin module to create and manage multi domain in a ceterlize server (of couse need to use some kind of file transfer).

In case you cant install webmin you can create a simple web UI to manage multi domain log analyze (I've already deployed and use this)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文