[Mapserver-users] CGI-Question

Björn Platzen bplatzen at sosnetz.de
Wed May 21 17:45:40 EDT 2003


Hi,

> On Wed, 2003-05-21 at 19:49, Mapserver wrote:
> > Hi list,
> >
> > I'm quite new to mapserver and I have a question concerning the
> > mapserver-cgi:
> > I have a pc with suse-linux and i'm able to compile mapserver to
> > get a cgi. Now - can I upload that cgi to any webspace-hoster?
>
> It's not very likely to work.
>
> First of all, if you compiled using the 'normal' configure/make
> process, you have a dynamically linked binary which requires the
> libraries it uses to be present on the target system. It's unlikely
> that your average web hoster has proj.4 installed, for example.
>
> Even if they do, you still have to watch out for library versions,
> dependencies among them that you might not like, etc.
>
> If you have built a _static_ binary, which is more work than the
> usual way, you can just copy it over, it will most likely run (if the
> system is not _too_ old). A static binary is one that has all library
> dependencies built into it. The problem with such a thing is that it
> grows quite quickly for each library you build into it. It can easily
> be several megabytes in size with things like proj.4, gd and (great
> maker, help) gdal.

Even if you get this working, the most web hosters I know only accept 
cgi's in script-languages like perl, python, php...

IMHO a better solution would be something like server-housing or 
something like that...
But maybe the list knows about hosters who have  mapserver installed...

Bye, Bjoern

-- 
small office solutions
info at sosnetz.de  -  http://www.sosnetz.de




More information about the mapserver-users mailing list