[mapserver-users] How to Mapserver 6.4 on Windows?
Størner.Henrik Juul HSO
HSO at kmd.dk
Wed Sep 3 06:41:58 PDT 2014
Hi,
I did this recently on a 2012 R2 server, using IIS as the webserver. Based on some webpages found via Google I ended up with this procedure:
Get http://www.gisinternals.com/sdk/PackageList.aspx?file=release-1600-x64-gdal-1-11-0-mapserver-6-4-1.zip (release version)
Unzip release-1600-x64-gdal-1-11-0-mapserver-6-4-1.zip to c:\program files\mapserver
Cop/move bin\ms\apps\mapserv.exe -> bin\
Copy/move bin\gdal\plugins\ -> bin\gdalplugins\
Moving gdal-plugins turned out to be necessary for the ECW plugin I needed to be picked up.
IIS (see also https://github.com/mapserver/mapserver/wiki/Installing-Mapserver-under-IIS-7.n-with-FastCGI )
* Click Start, Control Panel, Programs, Turn Windows features on or off.
* Select Internet Information Services.
* Select Web Management Tools then select IIS Management Console.
* Select World Wide Web Services
* In Application development Features, select ASP, CGI, ISAPI Extensions, ISAPI Filters and Server-Side Includes.
* In Common HTTP Features, select Default Document, HTTP Errors, HTTP Redirection and Static Content.
* In Health and Diagnostics, select HTTP Logging and Request Monitor.
* In Performance Features, select Static Content Compression.
* In Security, select Request Filtering.
Start IIS Manager
* Highlight Default Web Site under Sites
* Double-click ASP in the centre panel of IIS Manager and ensure the following are set: Enable Parent Paths
* Click on Default Web Site then double-click Handler Mappings in the centre panel.
* In the Actions Pane, click Add Module Mapping then set the following:
* Request path: mapserv.exe
* Module: FastCgiModule
* Executable: "C:\Program Files\mapserver\bin\mapserv.exe"
* Name: Mapserver via FastCGI
* Click on Request Restrictions and set the following:
* Mapping Tab: Check "Invoke handler ... ", then set for "File".
* Verbs Tab: "One of the following ...", enter "GET,HEAD,POST".
* Access Tab: Check "Execute".
* Whilst the "Mapserver via FastCGI" handler mapping is highlighted, click on Edit feature permissions in the right hand panel then ensure that read, script and execute are checked.
* Select Default Web Site and View Applications, then in Action Pane Add Application
o Alias: mapserver
o Application Pool: DefaultAppPool
o Physical path: c:\Program Files\Mapserver\bin
Test with the URL http://localhost/mapserver/mapserv.exe - it must return the error message " No query information to decode. QUERY_STRING is set, but empty."
Now you need to setup your map-files and source data, but this should at least get your Mapserver installation up and running.
Regards,
Henrik Størner
-----Oprindelig meddelelse-----
Fra: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] På vegne af Francesco Martinelli
Sendt: 3. september 2014 15:27
Til: mapserver-users at lists.osgeo.org
Emne: [mapserver-users] How to Mapserver 6.4 on Windows?
Hi,
I would like to install Mapserver 6.4.x on a Windows OS.
What should I do? ... I immagine "recompile", but can someone post some more details on specific steps to follow.
Thank you.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Vi gør opmærksom på, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svarfunktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller kopiere den. Selvom e-mailen og ethvert vedhæftet bilag efter vores overbevisning er fri for virus og andre fejl, som kan påvirke computeren eller it-systemet, hvori den modtages og læses, åbnes den på modtagerens eget ansvar. Vi påtager os ikke noget ansvar for tab og skade, som er opstået i forbindelse med at modtage og bruge e-mailen.
Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or it-system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message.
More information about the MapServer-users
mailing list