[mapserver-users] MapServer and MapScript in separate hosts

2010-09-07 Thread Román González
Hello: 

 

Maybe it’s a silly question but I’d like to know if I can use MapScript in a
web server with PHP being MapServer installed in a different host. All the
examples I’ve seen seem to run in the same server and I can’t find a way to
set up an URL for the MapServer location.

 

Thank you.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapServer and MapScript in separate hosts

2010-09-07 Thread Wim Vanbelle
Hi,

If you compile mapserver from source, you can use ./configure
--prefix=/path/to/executable to install it in the folder you want.
You do need to make sure that LD can find the shared libraries. This should
then be set in apache config so that the right environment paths are loaded.

As for the external URL thing. Just configure a CGI script at a given URL
(as configured in your webserver) and then point to the location of your
mapserv executable.
Perhaps this is what you are looking for:
http://mapserver.org/cgi/wrapper.html

2010/9/7 Román González rgonza...@normagricola.com

  Hello:



 Maybe it’s a silly question but I’d like to know if I can use MapScript in
 a web server with PHP being MapServer installed in a different host. All the
 examples I’ve seen seem to run in the same server and I can’t find a way to
 set up an URL for the MapServer location.



 Thank you.

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users