Difference between revisions of "MapServer at AdhocVM"

From OSGeo
Jump to navigation Jump to search
Line 42: Line 42:
  
 
* This is a MapServer CGI instance, serving data files for the MapServer Tutorial at: http://www.mapserver.org/tutorial/
 
* This is a MapServer CGI instance, serving data files for the MapServer Tutorial at: http://www.mapserver.org/tutorial/
* Home: http://demo.mapserver.org/tutorial/
+
* On Disk: /osgeo/mapserver/tutorial/
 +
* On Web: http://demo.mapserver.org/tutorial/
 
* Administrator: jmckenna
 
* Administrator: jmckenna
  

Revision as of 05:57, 30 September 2010

Startpage

Server Overview

Status

  • 2010-09-28 mapserver tutorial configured
  • 2010-09-23 mapserver installed through FGS

Participants

MapServer Installation on AdhocVM

  • MapServer 5.6.5 through FGS
  • home: /osgeo/mapserver/fgs/

Apache Configuration

A virtualhost is setup for demo.mapserver.org, through:

  • /etc/apache2/sites_available/demo.mapserver.org
    • to enable the virtualhost, the following command was used:
   /usr/sbin/a2ensite demo.mapserver.org

Note that a proxy is setup to use the FGS Apache

  • server logfiles live at:
   ErrorLog /var/log/apache2/demo.mapserver.org-error_log
   CustomLog /var/log/apache2/demo.mapserver.org-access_log combined

Restarting FGS Apache

  • set the FGS environment, in /osgeo/mapserver/fgs/ execute the command:
   . setenv.sh
  • then execute:
   fgs stop ; fgs start

Adding Apache Aliases

  • see examples in /osgeo/mapserver/fgs/www/conf.d/

Services on the AdhocVM

For each service you configure on demo.mapserver.org, please edit /osgeo/mapserver/fgs/www/htdocs/index.html and list your new service.

MapServer Tutorial

World Blue Marble