程咬金有三板斧,我们有三招。在这篇博文中我们要出第三招,同时也意味着昨天在“希望的田野”上的第二招失败了。前两招打头(CPU)不凑效,这一招要换一个部位,但依然要坚持攻击敌人最弱(最忙最累)部位的原则。那除了CPU,最忙最累的部位是哪里呢?对于Web服务器来说,毫无悬念,当然是网卡。
分类:
其他好文 时间:
2014-05-23 03:31:34
阅读次数:
304
Rewirte主要的功能就是实现URL的跳转和隐藏真实地址,基于Perl语言的正则表达式规范。平时帮助我们实现拟静态,拟目录,域名跳转,防止盗链等。本文将针对mod_rewrite和URL匹配的技术细节,以及RewriteCond与RewriteRule 指令格式进行探讨。
Rewirte模块内部处理
Rewirte模块的内部处理极为复杂,但是为了使一般用户避免犯低级错误,也让管理员能充分利用...
分类:
其他好文 时间:
2014-05-23 02:33:58
阅读次数:
221
介绍一个list滑动时通过一个text提示Array首字母位置的应用
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce...
分类:
其他好文 时间:
2014-05-23 00:58:42
阅读次数:
326
介绍在在title bar上显示indeterminate progress
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ...
分类:
其他好文 时间:
2014-05-23 00:31:27
阅读次数:
352
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo...
分类:
其他好文 时间:
2014-05-23 00:30:50
阅读次数:
415
asp.net(c#)用Ajax调用web 服务实现省市县三级联动,相对有另一种通过XML实现三级联动的方法,步骤其实是一样的。...
分类:
Web程序 时间:
2014-05-22 23:47:12
阅读次数:
336
Apache+Php配置(亲测可用)
一Apache配置:
1.下载 httpd-2.2.xx-win64.rar,Apache 64-bit 的压缩包,点击这里下载
(Apache官方没有64位的安装包)
2、将压缩包解压到C盘根目录: \httpd-2.2-x64
3、以管理员身份运行CMD:,进入Apache的bin目录,运行安装命令 httpd-k install
4、修改web配置,c:\httpd-2.2-x64\conf目录下的httpd.conf
端口号默认为80,如有冲突可改其他,这里...
分类:
Web程序 时间:
2014-05-22 18:32:34
阅读次数:
447
struts2 简介
struts2的前身可以说是framework。strut1作为当时很流行的框架,但是有很多的不足之处,framework出生后,它带来了很好的框架,但是很多人已经习惯了strut1.所以问津framework的人不多。后来framework被apache收购,改名为strut...
分类:
其他好文 时间:
2014-05-22 15:13:20
阅读次数:
229
1、使用Apache 的 Commons FileUpload FileUpload下载地址:
http://commons.apache.org/fileupload/ 下载:commons-fileupload-1.2.2-bin.zip
得到:commons-fileupload-1....
分类:
其他好文 时间:
2014-05-22 15:09:24
阅读次数:
216
【摘自http://blog.itpub.net/285892/viewspace-573357】前言这个技巧说来很简单。我们让Apache把任何stylesheet重定向到一个指定的PHP脚本。该脚本会一行行读取stylesheet的内容,找到并替换任何用户自定义的变量,最终会重新生成一个CSS样...
分类:
Web程序 时间:
2014-05-22 14:09:58
阅读次数:
521