码迷,mamicode.com
首页 >  
搜索关键字:url rewrite    ( 45422个结果
Web服务器原理及简单实现
Web系统由客户端(浏览器)和服务器端两部分组成。Web系统架构也被称为B/S架构。最常见的Web服务器有Apache、IIS等,常用的浏览器有IE、Firefox、chrome等。当你想访问一个网页时,需要在浏览器的地址栏中输入该网页的URL(UniformResourceLocator,简称为U...
分类:Web程序   时间:2014-05-26 19:38:20    阅读次数:301
设置git使用http://协议代替git://协议
设置git使用http://协议代替git://协议,保证网络畅行D:\git config --global url."https://".insteadOf git://D:\git config --listcore.symlinks=falsecore.autocrlf=truecolor....
分类:其他好文   时间:2014-05-26 18:49:07    阅读次数:958
关于jsp中response.sendRedirect显示错误
今天在jsp中作判断时,当不同条件时利用response.sendRedirect(“url”)来转向不同的页面,首先是判断验证码,当错误时就转向错误页面;当正确时,才进行用户名和密码的判断,同样也response.sendRedirect("url")来转向不同的页面。但运行时response.....
分类:Web程序   时间:2014-05-26 18:44:21    阅读次数:281
动态调用WebService时动态获取返回Class中的属性
直接给代码:var ret = HTTPS.WSHelper.InvokeWebService("WebService URL", "MethodName", object[] args);var type = ret.GetType();var propertyinfo = type.GetPro...
分类:Web程序   时间:2014-05-26 18:21:13    阅读次数:261
google 二位码API
按照当前页的url,生成二维码扫图
分类:Windows程序   时间:2014-05-26 17:40:00    阅读次数:305
判断远程文件是否存在
publicboolUriExists(stringurl){try{newSystem.Net.WebClient().OpenRead(url);returntrue;}catch(System.Net.WebException){returnfalse;}}
分类:其他好文   时间:2014-05-26 17:08:33    阅读次数:180
nginx源码分析--模块分类
ngx-modules Nginx 主要的模块大致可以分为四类: handler – 协同完成客户端请求的处理、产生响应数据。比如模块, ngx_http_rewrite_module, ngx_http_log_module, ngx_http_static_module。 filter – 对 handler 产生的响应数据做各种过滤处理。比如模块, ngx_http_n...
分类:其他好文   时间:2014-05-25 23:14:00    阅读次数:242
python实现图片爬虫
#encoding:utf-8 import sys reload(sys) sys.setdefaultencoding('utf8') from sgmllib import SGMLParser import re import urllib class URLLister(SGMLParser): def start_a(self, attrs): url = [v ...
分类:编程语言   时间:2014-05-25 22:47:56    阅读次数:340
mac上安装homebrew
1:关于homebrew下载地址     homebrew下载地址网上版本很多:我用了几个都是显示 404 bad request 如图:均无法现在    有一个网址会给出最新的 安装地址: the URL is:   http://brew.sh/index_zh-cn.html 在网站的最下面给出了通过terminal下载 homebrew的最新的下载地址: 我下载的...
分类:其他好文   时间:2014-05-25 21:34:49    阅读次数:293
页面状态保持机制(编辑中)
在ASPX页面中,每个控件的状态,通过VIEWSTATE进行保持,但前提是必须以回调的方式进行调用。我们的很多页面处理,都是以URL调用的方式进行的,无法使用VIEWSTATE。 在上例的分页处理中,使用了URL参数来传递状态,这种传递方式简单明了,但也存在问题: 1、复杂 2、和其他方式之间的共处...
分类:其他好文   时间:2014-05-25 20:04:22    阅读次数:183
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!