echo ""; echo ""; echo ""; echo ""; if(!is_admin){echo "";} » 2008 » April 仲子说

欢迎您光临我的个人网站!


2008-04-30

Apache虚拟主机配置

Posted in Apache at 21:03 by 仲远

标签:
Zhongyuan Wang

97100fe403b8

????????????????????????????????????????????????????????????????????????????
Apache???????????????????Apache?????????????????????????????????????????????????????????
Example:
<VirtualHost>
ServerAdmin webmaster@wangzhongyuan.com
DocumentRoot /www/docs/www.wangzhongyuan.com
ServerName www.wangzhongyuan.com
ErrorLog logs/www.wangzhongyuan.com-error_log
TransferLog logs/www.wangzhongyuan.com-access_log
</VirtualHost>
 ...查看全文

2008-04-29

功夫之王影评

Posted in 随笔 at 22:55 by 仲远

标签:

?????????????(The Forbidden Kingdom)???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????J??????????????????????????????????????????????????????????????????????(??)????????????????????????????????????(??)??????????????????????????????
????????????????????????????????????????...查看全文

2008-04-28

Mysql下建立主从数据库,将一个表的数据转移到另一个表中

Posted in FreeBSD/Unix服务器 at 22:34 by 仲远

标签:

???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????SQL????????????
?????????????
SELECT count(*) FROM `test` WHERE `start_date`>’2007-03-01′
??????????????????
insert into `test_sub` select * from `test` WHERE `test`.`start_date`<’2007-03-01′
??????????
delete FROM `test` WHERE `start_date`<’2007-03-01′

...查看全文

2008-04-27

中国大学排行榜

Posted in 随笔, 转载 at 18:12 by 仲远

标签:

?????????????????????????????????????????????????????????????????????????????????????????????????????????“??”???????????????????????????????????????????????????????????
????50?????
?? ???? ???? ????? ????? ??
???? ???? ???? ?????
?????? ??????
1 ???? ?? 98.37 100.00 100.00 99.54 100.00 99.70
2 ???? ?? 100.00 95.68 98.58 100.00 94.66 97.89
3 ???? ?? 73.95 94.82 91.56 91.49 75.91 89.19
4 ?????? ?? 72.56 89.56 89.19 90.91 85.82 87.82
5 ?...查看全文

2008-04-26

安装Fedora后无法安装Windows XP的终极解决办法

Posted in 实验室, FreeBSD/Unix服务器 at 22:52 by 仲远

标签:

???????????Fedora?Linux?Redhat????????????Windows XP????????????????????????????????????Linux??????Windows????0????????
????????????????????????????dos???????dos???fdisk /MBR? ????????0???????????Linux?????????????????? ?????dos????????????? Ghost XP SP2???YE3.0?????????????????????????????????????WinPE??Dos????
?????????????????????????????????????????????????????????????????????linux?????windows???????????????????????????????????“????”????
????????Windows????????????...查看全文

2008-04-25

Apache配置最大并发用户数

Posted in Apache at 19:57 by 仲远

标签:

Apache?????? 8.15 
Apache??????????????????MPM?????./configure –with-mpm=MPM?????????prefork?worker???MPM???
Prefork
????“–with-mpm”??????MPM?prefork??Unix??????MPM?????????????????????????????????????????make???make install??????httpd -l????????
MPM?prefork.c???httpd-mpm.conf??????????????????
<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
&...查看全文

2008-04-25

Apache中的Hook(挂钩)剖析(3)

Posted in Apache at 18:10 by 仲远

标签:
Apache中的Hook(挂钩)剖析(3)

5.5.7 ????
???????????????????????????????????????????——????????????????????????????????Hook_A?????????????????????????????????????????Hook_A???????????????????Apache??????????????????????????????????????????????????????????
???????????????????????????AP_DECLARE_HOOK????????????????????
AP_DECLARE_HOOK(int , optional_hook , (request_rec *r , int n))
???????????????????????????????????????????????????????AP_HOOK_STRUCT???????????????????????????????????????????????...查看全文

2008-04-24

Apache中的Hook(挂钩)剖析(2)

Posted in Apache at 23:33 by 仲远

标签:

Apache??????(2)

?????? ??:?? (2006-02-21 12:12:23)

5.5.5 ????(APR_IMPLEMENT_EXTERNAL_HOOK_BASE)
???????????????????????????????????????????????????????????????????
#define APR_IMPLEMENT_EXTERNAL_HOOK_BASE(ns,link,name) \
link##_DECLARE(void) ns##_hook_##name(ns##_HOOK_##name##_t *pf, \
const char * const *aszPre, const char * const *aszSucc,int nOrder) \
{ \
ns##_LINK_##name##_t *pHook; \
if(!_hooks.link_##name) \
{ ...查看全文

2008-04-23

Apache中的Hook(挂钩)剖析(1)

Posted in 转载, Apache at 22:44 by 仲远

标签:
Apache中的Hook(挂钩)剖析(1)

????????????????Apache??Hook?????????????????????????????
5.5 ??(HOOK)
5.5.1 ???????
?Apache1.3?????HTTP?????????????????????????????????????????????MIME??????????????Apache1.3???????????????????????????????HOOK?????????????????????????????????ap_check_user_i??????????????????????auth_checker?????????????????logger????????????????????????????????????????????????????????????????????????????????ap_check_user_id???????????????????????????NULL???????????????????????????????????...查看全文

2008-04-23

使用H3C路由器、交换机、无线AP搭建小型有线局域网以及无线局域网

Posted in 实验室 at 0:49 by 仲远

标签:

?????????????Internet Room??Demo Room?????????????????????????????????ip?????????????
1?????->????->??->??->??????????????????????com1???????????????????????????????????
2???#disp curr????ip??????(??#???????????)
3???????????#sys
4???ip?????#inter e 0/0 ???0/0??dis curr????ip?????
5?????ip?#ip add 10.10.10.10 255.255.255.0
6???ip???#quit
7?????????ip?#undo ip route 0.0.0.0.0.0.0.0 10.10.6.1
8??????????#ip route 0.0.0.0.0.0.0.0 10.10...查看全文

Pages (3): [1] 2 3 »