如何配置 awstats 来分析.php 流量?

如何配置 awstats 来分析.php 流量?

默认情况下,awstats 将 .php 流量分组为一个Dynamic PHP Script file数字。

然而,该网站的模式在于route=???index.php?例如:

GET /index.php?route=account/login/valid HTTP/1.1
GET /index.php?route=account/logout HTTP/1.1
GET /index.php?route=product/sunglasses/success HTTP/1.1

awstats 是否可以配置来分解route背后的流量index.php?如果没有,还有其他工具可以完成这项工作吗?

答案1

阅读手动的

URLWithQuery=[0|1]
0 - 从查询字符串中清除 URL(即:“/mypage.html”)
1 - 使用带有查询字符串的完整 URL(即:“/mypage.html?p=x&q=y”)

相关的是选项URLWithQueryWithoutFollowingParameters和,URLWithQueryWithOnlyFollowingParameters它们允许您调整在分组命中中使用和不使用的获取选项。

相关内容