码迷,mamicode.com
首页 >  
搜索关键字:nginx 自定义http header    ( 34597个结果
thinkPhp 3.1.3的验证码无法显示的问题
Image帮助类的output方法中,在下面的代码header("Content-type: image/" . $type);前增加代码:ob_end_clean();
分类:Web程序   时间:2014-05-16 07:01:32    阅读次数:308
php验证码
imagecreatetruecolor(宽,高); 图片宽高imagecolorallocate(图片,红,绿,蓝) 调用(三原色)生成颜色的方法,是生成背景颜色imagestring(图片,字体大小,字所在的x轴,字所在的y轴,要显示的验证码,字体颜色)header 要把...
分类:Web程序   时间:2014-05-15 15:59:13    阅读次数:432
nginx与ios实现https双向认证
nginx和ios app实现https双向认证(client certificate)...
分类:移动开发   时间:2014-05-15 14:51:58    阅读次数:446
linux后台服务器开发环境部署配置和验证(nginx+apache+php-fpm+FASTCGI(C/C++))
CentOS 6.3(Linux version 2.6.32-279.el6.x86_64) gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4) 本次配置 Nginx 1.5.8 Apache 2.4.7 php 5.3.26 FASTCGI...
分类:编程语言   时间:2014-05-15 05:52:51    阅读次数:421
linux+nginx+tomcat负载均衡,实现session同步
提示:关于nginx和tomcat己经在前面的博文己在介绍过了第一部分:nginx反向代理tomcat一、软件及环境软件系统角色用途安装的软件ip地址Centos6.5x86_64nginx反向代理用户请求nginx172.16.249.210Centos6.5x86_64tomcat1处理jsp请求jdk+tomcat172.16.249.101Centos6.5x86_64tomc..
分类:系统相关   时间:2014-05-15 03:08:03    阅读次数:638
分析osip的解析报文
staticint_osip_message_parse(osip_message_t*sip,constchar*buf,size_tlength,intsipfrag){inti;constchar*next_header_index;char*tmp;char*beg;tmp=osip_malloc(length+2);if(tmp==NULL){OSIP_TRACE(osip_trace(__FILE__,__LINE__,OSIP_ERROR,NULL,"Couldnotallocatememory..
分类:其他好文   时间:2014-05-14 16:06:25    阅读次数:296
php Cannot modify header information 和 Cannot send session cache limiter
在php开发中遇到两个问题 (1)Cannot send session cache limiter        解决方式  找到 php.ini        修改php.ini中的 session.auto_start = 0 为 session.auto_start = 1 (2)Cannot modify header information    解决方式  找...
分类:Web程序   时间:2014-05-14 14:28:55    阅读次数:396
nginx随笔
1 sbin/nginx -V 查看上次执行时用了哪些参数2 ./configure—add-module=../module_name_dir3 make (别用 make install 否则会重新安装)4 把 ./objs/nginx 复制到 ../sbin/nginx
分类:其他好文   时间:2014-05-14 13:36:38    阅读次数:247
thinkphp 随笔
thinkphp Runtime 除了页面有缓存外,数据表也生成了缓存,所以如果开发后期有更新字段,上传到服务器 后要把Runtime里面的内容全部删除,否则会出错nginx 配置以适应 pathinfo 需求 #去掉$是为了不匹配行末,即可以匹配.php/,以实现pathinfo ...
分类:Web程序   时间:2014-05-14 13:12:01    阅读次数:356
centos安装新版的nginx与php,添加memcahced扩展,测试memcached的json序列化
nginx安装前置是pcre库,memcahced前置是libmemcached库,需要通过编译参数指定地址。memcached需要通过编译参数开启json,sasl,igbanry,安装过的需要删除整个文件夹重新解压memcached包再编译。长期没有安装了,而且新版本的软件配置项不同,要通过./...
分类:Web程序   时间:2014-05-14 10:02:04    阅读次数:421
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!