一、改动httpd.conf打开appserv的安装文件夹,找到httpd.conf文件,分别去掉以下两行文字前面的#号。#LoadModule vhost_alias_module modules/mod_vhost_alias.so去掉#意思是启用apache的虚拟主机功能。#Include c...
分类:
其他好文 时间:
2014-10-07 13:24:13
阅读次数:
223
仅仅是配置文件,粘贴如下,不做解释!去掉了很多功能!仅保留sip电话!
[general]
; General settings for the operation of Yate
; modload: boolean: Should a module be loaded by default if there is no
; reference to it in the [modules]...
分类:
其他好文 时间:
2014-10-06 16:09:00
阅读次数:
167
python除了关键字(keywords)和内置的类型和函数(builtins),更多的功能是通过libraries(即modules)来提供的。常用的libraries(modules)如下:1)python运行时服务* copy: copy模块提供了对复合(compound)对象(list,tu...
分类:
编程语言 时间:
2014-10-04 17:49:46
阅读次数:
218
1.获取python模块路径import osprint os.path.dirname(Modulename.__file__)2.查看帮助查看python所有的modules:help("modules")单看python所有的modules中包含指定字符串的modules: help("mod...
分类:
编程语言 时间:
2014-10-03 01:16:43
阅读次数:
241
关于单元测试,上一次就简单的概念和Mock基础做了,参考:http://60.174.249.204:8888/in/modules/article/view.article.php/74实际开发过程中,写单元测试是非常难的一件事情,其主要原因是代码结构不够好,导致单元测试不好写。特别是Dao层,因...
分类:
编程语言 时间:
2014-09-30 14:15:29
阅读次数:
231
配置httpd.conf文件去掉# 加载LoadModule expires_module modules/mod_expires.so模块加上如下配置:ExpiresActive OnExpiresDefault "access plus 300 seconds" Options Follo...
分类:
其他好文 时间:
2014-09-28 19:36:05
阅读次数:
222
通过查看android源码目录下的build/envsetup.sh文件,可知:- m: Makes from the top of the tree.- mm: Builds all of the modules in the current directory.- mmm: Builds all...
分类:
移动开发 时间:
2014-09-28 19:33:54
阅读次数:
194
Drupal使用.info文件来保存关于主题(theme)和模块(modules)的基本数据(metadata)。图文中文详解Drupal 7模块中的.info文件。...
分类:
其他好文 时间:
2014-09-28 14:58:02
阅读次数:
220
1.检测Apache是否支持mod_rewrite 通过php提供的phpinfo()函数查看环境配置,通过Ctrl+F查找到“Loaded Modules”,其中列出了所有apache2handler已经开启的模块,如果里面包括“mod_rewrite”,则已经支持,不再...
分类:
Web程序 时间:
2014-09-26 12:42:19
阅读次数:
297
1:系统是否识别网卡2:安装驱动加载对应模块使用lsmodmodprobe配合修改/etc/modprobe.conf[root@HC-PBX~]#modprobe-l|grep8139/lib/modules/2.6.18-238.el5PAE/kernel/drivers/net/8139cp.ko/lib/modules/2.6.18-238.el5PAE/kernel/drivers/net/8139too.ko驱动正常安装后都会存..
分类:
系统相关 时间:
2014-09-24 19:07:27
阅读次数:
285