123456789101112131415161718192021222324 |
- $OpenBSD: README-main,v 1.2 2014/05/18 09:29:50 landry Exp $
- +-----------------------------------------------------------------------
- | Running ${FULLPKGNAME} on OpenBSD
- +-----------------------------------------------------------------------
- If you plan to use mapserv CGI with a chrooted web server, make sure to
- copy the libs needed by mapserv binary from ${LOCALBASE}/lib, but also
- the projection definitions from libgeotiff and proj packages to the
- chroot:
- # mkdir -p ${PREFIX-main}${LOCALBASE}/share/{epsg_csv,proj}
- # cp ${LOCALBASE}/share/epsg_csv/* ${PREFIX-main}${LOCALBASE}/share/epsg_csv
- # cp ${LOCALBASE}/share/proj/* ${PREFIX-main}${LOCALBASE}/share/proj
- If you would like to use FastCGI with nginx from base, use the provided rc.d(8)
- script and add the following lines to you nginx.conf:
- location /cgi-bin/mapserv {
- fastcgi_pass unix:run/mapserv.sock;
- fastcgi_param SCRIPT_FILENAME /cgi-bin/mapserv;
- include fastcgi_params;
- }
|