MapServer CGI

MapServer is a platform for publishing spatial data and interactive mapping applications to the web.

In our example, we use the SSH access and consider the following information:

  • Account name: [account]
  • MapServer installation directory: /home/[account]/mapserver

Note

Feel free to adjust according to your needs.

  1. Create the soft link:
[account]@ssh:~/mapserver$ ln -s /usr/lib/cgi-bin/mapserv mapserv
  1. Create a .htaccess file with:
Options +ExecCGI
SetHandler cgi-script