[mapserver-users] Mapserver + apache2 + python mapscript configuration
Constantin Malii
malii.constantin at gmail.com
Wed Sep 26 06:20:23 PDT 2012
Thaks for answer.
The question is about setting it to work together.
apache2 user by default is www-data and cgi-bin directory is located in
/usr/lib
i want some clear instructions for setting up directories and permissions
1) do i need to create new dir /var/www/cgi-bin or use the existing from
/usr/lib?
2) if i create new one i need to modify
/etc/apache2/sites-available/default to point apache to new scripts cgi-bin
dir?
the installation of mapscript i can do with these commands from
/mapserver-x.x/mapscript/python/readme file:
python setup.py build
python setup.py install
On Wed, Sep 26, 2012 at 1:03 PM, Julien Cigar <jcigar at ulb.ac.be> wrote:
> if it can help, I copy/paste code from a *very* old project (the only one
> I've used mapscript) .. if it can help:
> http://pastie.org/private/kjenmk0ewq42w1k71wbfxg
>
>
> On 09/26/2012 11:54, Julien Cigar wrote:
>
> http://mapserver.org/mapscript/index.html ..?
> the Python API is just a SWIG wrapper
>
> On 09/26/2012 11:37, Constantin Malii wrote:
>
> Hi, everybody
> I need some help with configuration of mapserver with apache and python
> mapscript.
>
> I compiled mapserver with required libs (zlib, libgd, libjpeg, gdal(with
> python)). I followed some instructions from Begining Mapserver book and
> mapserver.org site.
> Now i want to install python mapscript and set up mapserver with apache2.
> Planing to create a django application and use python mapscript to interact
> with mapserver.
>
> The problem is that i dont find any explicite guide or tutorial how to
> do it right, this include setting working directory for mapserver and
> apache, setting permissions.
>
>
> Could anyone help me please. Thank's.
>
>
> _______________________________________________
> mapserver-users mailing listmapserver-users at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
> --
> No trees were killed in the creation of this message.
> However, many electrons were terribly inconvenienced.
>
>
>
> _______________________________________________
> mapserver-users mailing listmapserver-users at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
> --
> No trees were killed in the creation of this message.
> However, many electrons were terribly inconvenienced.
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120926/b7907228/attachment.htm>
More information about the MapServer-users
mailing list