下载此文档

QGIS MapServer 配置IIS 6及Apache.doc


文档分类:IT计算机 | 页数:约18页 举报非法文档有奖
1/18
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/18 下载此文档
文档列表 文档介绍
QGIS MapServer基于IIS及Apache服务器
配置手册
1. IIS : 3
. 安装Fastcgi IIS扩展程序 3
. 配置IIS扩展映射 3
. 配置MAP FCGI程序 4
. 修改FCGI配置文件 4
. 测试程序 5
. 最简单的测试程序() 5
. 基于OpenLayers的测试程序 5
2. Apache服务器配置 5
IIS :
安装Fastcgi IIS扩展程序
安装文件:
安装完后应该在:C:\WINDOWS\system32\inetsrv 目录下找到
,,
配置IIS扩展映射
步骤详见下图:
配置MAP FCGI程序
修改程序()所在目录的执行权限为“脚本和可执行文件”:
修改FCGI配置文件
修改文件(C:\WINDOWS\system32\inetsrv\):
在文件中增加以下内容(参数值可根据需要修改):
[Types]
fcgi=FCGI
[FCGI]
ExePath=C:\Inetpub\\
;EnvironmentVars=FcgidMinProcessesPerClass:0,FcgidIdleScanInterval:1,FcgidProcessLifeTime:100
MaxInstances=8
RequestTimeout=360
测试程序
注意:
1、WMS Server端只处理UTF8编码请求,所在在客户端脚本中增加以下内容:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
2、,即纬度在前;
最简单的测试程序()
功能:完成一次WMS请求
代码中以下内容请根据不同机器及应用的情况进行修改:
action="/project/"
<input type="hidden" name="LAYERS" value="xxx行政区划">
<input type="hidden" name="BBOX" value=",,,">
基于OpenLayers的测试程序
请参见OpenLayers openlayers\examples\ wms-
功能:可进行地图浏览操作,平衡,放大,缩小
Apache服务器配置
基于Apache/
修改:D:\ms4w\Apache\conf\ ,详细修改请参见以下红色部分内容(修改后需重启Apache服务器)
[]
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd./docs/> for detailed information.
# In particular, see
# <URL:http://httpd./docs/>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the serve

QGIS MapServer 配置IIS 6及Apache 来自淘豆网m.daumloan.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数18
  • 收藏数0 收藏
  • 顶次数0
  • 上传人szh187166
  • 文件大小0 KB
  • 时间2013-01-01