说道反向代理,可能首先想到的就是nginx。不过在我们的需求中,对于转发过程有更多需求:需要操作session,根据session的取值决定转发行为需要修改Http报文,增加Header或是QueryString第一点决定了我们的实现必定是基于Servlet的。jetty提供的ProxyServle...
分类:
其他好文 时间:
2014-05-10 18:58:46
阅读次数:
1057
在执行/etc/init.d/ndbd--initial出现下列错误[root@ndbd1~]#/etc/init.d/ndbd--initialUnabletoconnectwithconnectstring:nodeid=0,localhost:1186Retryingevery5seconds.Attemptsleft:121110987654321,failed.解决办法1.查看/etc/my.cnf文件配置[root@ndbd1~]#cat/etc/my.cnf..
分类:
数据库 时间:
2014-05-10 04:07:58
阅读次数:
1778
psql:致命错误:用户"***"Ident认证失败或psql:FATAL:Identauthenticationfailedforuser“username”,maispourquoidonc?解决办法:修改"pg_hba.conf"文件中认证方式"METHOD"为"md5"或"trust",具体参考文件中的说明。
分类:
数据库 时间:
2014-05-10 03:58:44
阅读次数:
611
nginx-404与fastcgi_intercept_errors指令fastcgi_intercept_errors语法:fastcgi_intercept_errors
on|off默认值:fastcgi_intercept_errors off使用字段:http, server, locat...
分类:
其他好文 时间:
2014-05-10 03:20:15
阅读次数:
270
今天抽空在阿里云上部署安装了PHP的环境主要有nginx, php5 php-fpm mysql
phpmyadmin本文来源于:http://www.lonelycoder.be/nginx-php-fpm-mysql-phpmyadmin-on-ubuntu-12-04/Since
3 year...
分类:
数据库 时间:
2014-05-10 03:17:22
阅读次数:
772
error: RPC failed; result=22, HTTP code = 411fatal:
The remote end hung up unexpectedly解决方法:git config http.postBuffer 524288000
分类:
其他好文 时间:
2014-05-10 01:06:09
阅读次数:
367
一、自述Nginx模块功能也是相当的丰富,但对于ApacheWeb来说,两者之间还是有区别的,大家都知道Nginx模块是直接被编译进了nginx.conf配置文件,而Apache则是被编译成为.SO文件,有些是需要在httpd.conf配置文件中指定是否加载,这样才能激活模块功能。Nginx模块有三个角色,Ha..
分类:
其他好文 时间:
2014-05-09 21:31:42
阅读次数:
413
在 mkfs.ext4 /dev/sda2 格式化硬盘空间时,可能出现这样的错误。
had this situation at office where I was told to re-partition an already existing partition. The situation was to get the below schema
/dev/sdb1 1 3040 24...
分类:
其他好文 时间:
2014-05-09 20:49:25
阅读次数:
343
在UEditor一些版本中,如果粘贴Excell中的内容到编辑器,会粘贴不进去,打开控制台发现JS报错了。
在ueditor.all.js:3048行报如下错误:
Uncaught TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The node provided is invalid....
分类:
其他好文 时间:
2014-05-09 15:16:34
阅读次数:
290
usergroupwwwwww;worker_processes8;//进程数,建议设置为等于CPU总核心数error_loglogs/error.log;#error_loglogs/error.lognotice;#error_loglogs/error.loginfo;pidlogs/nginx.pid;events{worker_connections1024;}http{includemime.types;default_typeapplication/octet-st..
分类:
其他好文 时间:
2014-05-09 14:30:49
阅读次数:
308