环境:服务器geoserver2.4.1开发机访问服务器发布的wms存在跨域问题,研究两天终于找到解决方案。主要思路是:使用jquery的ajax代替Groserver的request,然后将wms的请求地址转发到.net的处理程序,使用.net的处理程序进行跨域处理。functionmouseClick(e){
varlayer=newArray(..
分类:
Web程序 时间:
2014-07-04 06:50:49
阅读次数:
980
一、简介代理服务器英文全称是Proxy Server,其功能就是代理网络用户去取得网络信息。Squid是一个缓存Internet 数据的软件,其接收用户的下载申请,并自动处理所下载的数据。当一个用户想要下载一个主页时,可以向Squid 发出一个申请,要Squid 代替其进行下载,然后Squid 连接...
分类:
其他好文 时间:
2014-07-03 23:27:02
阅读次数:
388
Default do not need username and password authenticate when access mongoDB ,I want to set up the user name & password for my mongoDB. so that any remo...
分类:
数据库 时间:
2014-07-03 21:02:37
阅读次数:
343
想如果代理可用就使用代理,代理不可用就直接连接网络。新建文件放入javascript代码,保存为proxy.pac,保存路径c:\proxy.pacfunction FindProxyForURL(url, host) { return "PROXY 127.0.0.1:8888"...
分类:
其他好文 时间:
2014-07-03 19:40:54
阅读次数:
233
有时候你想登录到服务器A,但是服务器有白名单,你只能从以下堡垒机B登录上去,所以每次你想登录到服务器A,得先登录到堡垒机B,然后在登录到服务器A。
我们可以用Putty的local proxy来设置每次登录到服务器A的时候,自动先登录到堡垒机B,然后以堡垒机B作为代理在登录到服务器A,所以从用户的角度看,这样每次就可以直接登录到服务器A了。
好下面来看一下怎么设置。
首先设置...
分类:
其他好文 时间:
2014-07-03 13:55:21
阅读次数:
121
Hello all,In this tutorial we are going to configure JDBCRealm JAAS for tomcat 7 and mysql database server.Let us first understand what exactly these ...
分类:
数据库 时间:
2014-07-02 20:08:58
阅读次数:
367
Water is the most important substance needed by the body. It is the sole substance which has affected the human being and civilization. That’s why it ...
分类:
其他好文 时间:
2014-07-02 19:00:20
阅读次数:
154
Nginx反向代理 Nginx通过proxy模块实现反向代理功能。在作为web反向代理服务器时,nginx负责接收客户请求,并能够根据URI、客户端参数或其它的处理逻辑将用户请求调度至上游服务器上(upstream server)。nginx在实现反向代理功能时的最重要指令为proxy_pass,....
分类:
其他好文 时间:
2014-07-02 10:36:18
阅读次数:
209
In this tutorial you will learn how to configure JAAS authentication in Tomcat using the HTTP Basic authentication scheme.IntroductionTomcat provides ...
分类:
其他好文 时间:
2014-07-02 10:28:06
阅读次数:
306