码迷,mamicode.com
首页 >  
搜索关键字:proxy_cache fastcgi_cache gzip 防盗链 rewrite    ( 4730个结果
linux压缩数据
linux文件压缩工具工具文件扩展名描述bzip2.bz2使用burrows-wheeler块排序文本压缩算法compress.Z原UNIX文件压缩工具gzip.gzGNU项目压缩工具zip.zipUnix版本的windowsPKZIP程序1.bzip2工具bzip用于压缩文件bzcat用于显示已压缩文本文件内容bunzip2用于解压.bz2文件bzip2recover..
分类:系统相关   时间:2014-11-06 15:05:55    阅读次数:236
Android4.4.4 GZIPOutputStream报错:Stream error
在android 4.4.4 机器上使用网友提供的GZipUtils方法进行GZip压缩,但是会一直报错Stream error。错误位置: public static void compress(InputStream is, OutputStream os)               throws Exception {              GZIPOutputSt...
分类:移动开发   时间:2014-11-05 23:19:00    阅读次数:375
【jsp 防盗链】Referer的简单使用
在web系统中,盗链的问题时有发生,即复制一个url地址,在另一个地方也能访问。在jsp中通过request对象可以获取客户请求信息和表单信息,在客户请求头信息中,"Referer"属性是上一次请求的url,利用"Referer"属性值可以解决盗链的问题index.jsp he...
分类:Web程序   时间:2014-11-05 21:04:34    阅读次数:223
Python Gzip压缩与解压模块
from http://www.iplaypython.com/module/gzip.html一、使用gzip模块压缩文件>>> import gzip #导入gzip模块,玩蛇网提示:注意名字为全小写>>> g = gzip.GzipFile(filename="", mode="wb", c....
分类:编程语言   时间:2014-11-05 19:20:49    阅读次数:136
Linux 压缩文件的命令行总结
Linux压缩文件的读取· *.Z compress 程序压缩的档案;· *.bz2 bzip2 程序压缩的档案;· *.gz gzip 程序压缩的档案;· *.tar tar 程序打包的数据,并没有压缩过;· *.tar.gz tar 程序打包的档案,其中并且经过 gzip 的压缩!· *.zip...
分类:系统相关   时间:2014-11-05 12:18:30    阅读次数:272
thinkphp url路由中去除index.php
第一步:打开Apache中的配置文件:httped.conf,将mod.rewrite.so这条注释去除。第二步:将AllowOverride Node修改为AllowOverride All第三步:在文件根目录中创建.htaccess 在文件中写入RewriteEngine onRewrit...
分类:Web程序   时间:2014-11-04 22:39:44    阅读次数:252
MVC与WebForm最大的区别
原文地址:http://www.cnblogs.com/birdshover/archive/2009/08/24/1552614.html使用ASP.NET MVC框架,创建默认项目,第一直观感觉就是地址都是Rewrite过的。对源码和配置文件稍加分析不难看出,MVC使用了httpModules来...
分类:Web程序   时间:2014-11-04 16:43:58    阅读次数:271
kohana nginx的配置
kohana nginx的配置 location / { if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?kohana_uri=/$1 last; } index index.php index.html...
分类:其他好文   时间:2014-11-03 17:43:26    阅读次数:170
nginx 隐藏index.php 路径path化
server{listen80default;server_name_;indexindex.htmlindex.htmindex.php;#root/alidata/www/default;root/alidata/www/sandbox_pro/sandbox;#rewrite^/box/list/index.php?r=box/list;#rewrite^/(.*)$/index.php?r=$1;if(-f$request_filename/index.php){rewrite(.*)$1/index..
分类:Web程序   时间:2014-11-03 16:34:12    阅读次数:253
HTTP消息与服务器之间的响应
1. 浏览器发送Http request 给Web服务器, request 中有Accept-Encoding: gzip, deflate。 (告诉服务器, 浏览器支持gzip压缩)2. Web服务器接到request后, 生成原始的Response, 其中有原始的Content-Type和Con...
分类:Web程序   时间:2014-11-03 14:33:26    阅读次数:216
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!