Thaks for answer.<div><br></div><div>The question is  about setting it to work together.</div><div>apache2 user by default is www-data and cgi-bin directory is located in /usr/lib</div><div><br></div><div>i want some clear instructions for setting up directories and permissions</div>


<div>1) do i need to create new dir /var/www/cgi-bin or use the existing from /usr/lib?</div><div>2) if i create new one i need to modify /etc/apache2/sites-available/default to point apache to new scripts cgi-bin dir?</div>

<div><br></div>
<div><br></div><div>the installation of mapscript i can do with these commands from /mapserver-x.x/mapscript/python/readme  file:</div>
<div><br></div><div>python setup.py build<br>python setup.py install</div><div><br></div><div><br><div class="gmail_quote">On Wed, Sep 26, 2012 at 1:03 PM, Julien Cigar <span dir="ltr"><<a href="mailto:jcigar@ulb.ac.be" target="_blank">jcigar@ulb.ac.be</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    if it can help, I copy/paste code from a *very* old project (the
    only one I've used mapscript) ..  if it can help:
    <a href="http://pastie.org/private/kjenmk0ewq42w1k71wbfxg" target="_blank">http://pastie.org/private/kjenmk0ewq42w1k71wbfxg</a><div><div><br>
    <br>
    On 09/26/2012 11:54, Julien Cigar wrote:
    <blockquote type="cite">
      
      <a href="http://mapserver.org/mapscript/index.html" target="_blank">http://mapserver.org/mapscript/index.html</a>
      ..?<br>
      the Python API is just a SWIG wrapper<br>
      <br>
      On 09/26/2012 11:37, Constantin Malii wrote:
      <blockquote type="cite">Hi, everybody
        <div>I need some help with configuration of mapserver with
          apache and python mapscript.</div>
        <div><br>
        </div>
        <div>I compiled mapserver with required libs (zlib, libgd,
          libjpeg, gdal(with python)). I followed some instructions from
          Begining Mapserver book and  <a href="http://mapserver.org" target="_blank">mapserver.org</a> site.</div>
        <div>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.</div>
        <div><br>
        </div>
        <div>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.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Could anyone help me please. Thank's.</div>
        <br>
        <fieldset></fieldset>
        <br>
        <pre>_______________________________________________
mapserver-users mailing list
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
      </blockquote>
      <br>
      <br>
      <pre cols="72">-- 
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
</pre>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
mapserver-users mailing list
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre cols="72">-- 
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
</pre>
  </div></div></div>

<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br></div>