免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1296 | 回复: 3
打印 上一主题 下一主题

[Web] 求助,apahce如何控制某个虚拟主机的在线人数 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-09 21:35 |只看该作者 |倒序浏览
或者说IP数。 请教用什么mod?

因为虚拟主机用户架设的都是论坛,想控制他们的在线论坛在线人数

论坛徽章:
0
2 [报告]
发表于 2005-04-10 13:30 |只看该作者

求助,apahce如何控制某个虚拟主机的在线人数

mod_vhost_limit

论坛徽章:
0
3 [报告]
发表于 2005-04-10 13:32 |只看该作者

求助,apahce如何控制某个虚拟主机的在线人数

  1. apxs -c mod_vhost_limit.c -o /usr/local/www/user/stk88/mod_vhost_limit.so
  2. /usr/local/share/apache2/build/libtool --silent --mode=compile cc -prefer-pic -O -pipe -DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT -D_THREAD_SAFE  -I/usr/local/include/apache2  -I/usr/local/include/apache2   -I/usr/local/include/apache2 -I/usr/local/include  -c -o mod_vhost_limit.lo mod_vhost_limit.c && touch mod_vhost_limit.slo
  3. mod_vhost_limit.c:105:31: http_conf_globals.h: No such file or directory
  4. mod_vhost_limit.c:118: error: syntax error before "vhost_limit_module"
  5. mod_vhost_limit.c:121: error: syntax error before '*' token
  6. mod_vhost_limit.c: In function `create_vhost_limit_config':
  7. mod_vhost_limit.c:125: error: `p' undeclared (first use in this function)
  8. mod_vhost_limit.c:125: error: (Each undeclared identifier is reported only once
  9. mod_vhost_limit.c:125: error: for each function it appears in.)
  10. mod_vhost_limit.c:126: error: `HARD_SERVER_LIMIT' undeclared (first use in this function)
  11. mod_vhost_limit.c: In function `max_vhost_clients_set':
  12. mod_vhost_limit.c:143: error: `vhost_limit_module' undeclared (first use in this function)
  13. mod_vhost_limit.c:153: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
  14. mod_vhost_limit.c:153: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
  15. mod_vhost_limit.c: At top level:
  16. mod_vhost_limit.c:168: warning: initialization from incompatible pointer type
  17. mod_vhost_limit.c:170: warning: initialization from incompatible pointer type
  18. mod_vhost_limit.c: In function `check_vhost_limit':
  19. mod_vhost_limit.c:179: error: syntax error before "score_record"
  20. mod_vhost_limit.c:190: error: `vhost_limit_module' undeclared (first use in this function)
  21. mod_vhost_limit.c:200: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast
  22. mod_vhost_limit.c:200: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type
  23. mod_vhost_limit.c:200: error: too few arguments to function `ap_log_rerror'
  24. mod_vhost_limit.c:208: error: structure has no member named `child_num'
  25. mod_vhost_limit.c:213: error: request for member `last_used' in something not a structure or union
  26. mod_vhost_limit.c:222: error: `HARD_SERVER_LIMIT' undeclared (first use in this function)
  27. mod_vhost_limit.c:227: error: `score_record' undeclared (first use in this function)
  28. mod_vhost_limit.c:228: error: `ps_record' undeclared (first use in this function)
  29. mod_vhost_limit.c:291: error: label at end of compound statement
  30. mod_vhost_limit.c:303: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
  31. mod_vhost_limit.c:303: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
  32. mod_vhost_limit.c: At top level:
  33. mod_vhost_limit.c:310: error: syntax error before "vhost_limit_module"
  34. apxs:Error: Command failed with rc=65536
复制代码

不过我安装时出错[/quote]

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
4 [报告]
发表于 2005-04-11 14:12 |只看该作者

求助,apahce如何控制某个虚拟主机的在线人数

那时你在安装的时候,没有引入apache的源代码文加纳
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP