nginx设置虚拟主机很简单:基于端口的虚拟主机:server{
listen81;
server_namesomenamealiasanother.alias;
location/{
roothtml/81;
indexindex.htmlindex.htm;
}
}
server{
listen82;
server_namesomenamealiasanother.alias;
location/{
roothtml/82;
indexindex.htmlindex..
分类:
其他好文 时间:
2014-12-31 16:32:22
阅读次数:
247
经常使用git命令,设置快捷键会方便很多,设置方式如下:git config --global alias.st status或者:修改~/.gitconfig,加入以下部分:[alias] co = checkout ci = commit st = status br = branch sh =...
分类:
其他好文 时间:
2014-12-30 21:54:37
阅读次数:
186
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" _ (lpDest As Any, lpSource As Any, ByVal nCount As Long)Private Sub For...
分类:
其他好文 时间:
2014-12-30 13:31:33
阅读次数:
103
Option ExplicitPrivate Declare Function CallWindowProc Lib "user32" Alias "CallWindowProcA" (ByVal lpPrevWndFunc As Long, ByVal hwnd As Long, ByVal ms...
分类:
其他好文 时间:
2014-12-30 11:38:07
阅读次数:
118
我使用了centOS,可是发现网速实在是卡得差点儿不能上网,连百度都打不开,可是win却飞快。后来想到偶然记得有一次看过一段话,说到关闭ipv6,測试来一下,果然有效,关闭来ipv6打开网速飞快。关闭方法,在/etc/modprobe.d/dist.conf结尾加入alias net-pf-10 o...
分类:
其他好文 时间:
2014-12-29 15:17:01
阅读次数:
129
配置访问 /phpymadmin/ 实际访问是 的内容 d:/wamp/apps/phpmyadmin4.1.14/phpmyadmin/ ,
调试了很久,最终才实现。
其实我本来phpmyadmin/是直接存放在 d:/wamp/apps/phpmyadmin4.1.14/,但是发现根本无法实现,最后把 d:/wamp/apps/phpmyadmin4.1.14/全部 移动到他自己目录下新...
分类:
Web程序 时间:
2014-12-27 19:05:10
阅读次数:
172
$ git config --global alias.co checkout
$ git config --global alias.br branch
$ git config --global alias.ci commit
$ git config --global alias.st sta...
分类:
其他好文 时间:
2014-12-26 11:03:56
阅读次数:
177
SendMessage函数的常用消息及其应用(有点长,希望能对大家有所帮助)函数原型:Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, _ByVal wMsg As Long, By...
分类:
其他好文 时间:
2014-12-26 00:55:03
阅读次数:
215
介绍
lighttpd是众多OpenSource轻量级的web server中较为优秀的一个。支持FastCGI, CGI, Auth, 输出压缩(output compress), URL重写, Alias等重要功能。
[编辑]Lighttpd
sudo apt-get install lighttpd #安装lighttpd
安装后系统会自动启动lighttpd,打开htt...
分类:
Web程序 时间:
2014-12-25 20:30:38
阅读次数:
360
1.生成keystore按照下面的命令行 在C:\Program Files\Java\jdk1.6.0_10\bin>目录下,输入keytool -genkey -alias android.keystore -keyalg RSA -validity 100000 -keystore andro...
分类:
移动开发 时间:
2014-12-25 14:25:54
阅读次数:
240